type vendor/golang.org/x/crypto/cryptobyte.String
216 uses
vendor/golang.org/x/crypto/cryptobyte (current package)
asn1.go#L249: func (s *String) ReadASN1Boolean(out *bool) bool {
asn1.go#L250: var bytes String
asn1.go#L273: func (s *String) ReadASN1Integer(out interface{}) bool {
asn1.go#L315: func (s *String) readASN1BigInt(out *big.Int) bool {
asn1.go#L316: var bytes String
asn1.go#L335: func (s *String) readASN1Bytes(out *[]byte) bool {
asn1.go#L336: var bytes String
asn1.go#L350: func (s *String) readASN1Int64(out *int64) bool {
asn1.go#L351: var bytes String
asn1.go#L373: func (s *String) readASN1Uint64(out *uint64) bool {
asn1.go#L374: var bytes String
asn1.go#L401: func (s *String) ReadASN1Int64WithTag(out *int64, tag asn1.Tag) bool {
asn1.go#L402: var bytes String
asn1.go#L408: func (s *String) ReadASN1Enum(out *int) bool {
asn1.go#L409: var bytes String
asn1.go#L421: func (s *String) readBase128Int(out *int) bool {
asn1.go#L453: func (s *String) ReadASN1ObjectIdentifier(out *encoding_asn1.ObjectIdentifier) bool {
asn1.go#L454: var bytes String
asn1.go#L492: func (s *String) ReadASN1GeneralizedTime(out *time.Time) bool {
asn1.go#L493: var bytes String
asn1.go#L513: func (s *String) ReadASN1UTCTime(out *time.Time) bool {
asn1.go#L514: var bytes String
asn1.go#L550: func (s *String) ReadASN1BitString(out *encoding_asn1.BitString) bool {
asn1.go#L551: var bytes String
asn1.go#L573: func (s *String) ReadASN1BitStringAsBytes(out *[]byte) bool {
asn1.go#L574: var bytes String
asn1.go#L590: func (s *String) ReadASN1Bytes(out *[]byte, tag asn1.Tag) bool {
asn1.go#L591: return s.ReadASN1((*String)(out), tag)
asn1.go#L599: func (s *String) ReadASN1(out *String, tag asn1.Tag) bool {
asn1.go#L612: func (s *String) ReadASN1Element(out *String, tag asn1.Tag) bool {
asn1.go#L625: func (s *String) ReadAnyASN1(out *String, outTag *asn1.Tag) bool {
asn1.go#L634: func (s *String) ReadAnyASN1Element(out *String, outTag *asn1.Tag) bool {
asn1.go#L640: func (s String) PeekASN1Tag(tag asn1.Tag) bool {
asn1.go#L649: func (s *String) SkipASN1(tag asn1.Tag) bool {
asn1.go#L650: var unused String
asn1.go#L658: func (s *String) ReadOptionalASN1(out *String, outPresent *bool, tag asn1.Tag) bool {
asn1.go#L671: func (s *String) SkipOptionalASN1(tag asn1.Tag) bool {
asn1.go#L675: var unused String
asn1.go#L683: func (s *String) ReadOptionalASN1Integer(out interface{}, tag asn1.Tag, defaultValue interface{}) bool {
asn1.go#L685: var i String
asn1.go#L715: func (s *String) ReadOptionalASN1OctetString(out *[]byte, outPresent *bool, tag asn1.Tag) bool {
asn1.go#L717: var child String
asn1.go#L725: var oct String
asn1.go#L740: func (s *String) ReadOptionalASN1Boolean(out *bool, tag asn1.Tag, defaultValue bool) bool {
asn1.go#L742: var child String
asn1.go#L755: func (s *String) readASN1(out *String, outTag *asn1.Tag, skipHeader bool) bool {
asn1.go#L793: lenBytes := String((*s)[2 : 2+lenLen])
string.go#L22: type String []byte
string.go#L26: func (s *String) read(n int) []byte {
string.go#L36: func (s *String) Skip(n int) bool {
string.go#L42: func (s *String) ReadUint8(out *uint8) bool {
string.go#L53: func (s *String) ReadUint16(out *uint16) bool {
string.go#L64: func (s *String) ReadUint24(out *uint32) bool {
string.go#L75: func (s *String) ReadUint32(out *uint32) bool {
string.go#L86: func (s *String) ReadUint48(out *uint64) bool {
string.go#L97: func (s *String) ReadUint64(out *uint64) bool {
string.go#L106: func (s *String) readUnsigned(out *uint32, length int) bool {
string.go#L120: func (s *String) readLengthPrefixed(lenLen int, outChild *String) bool {
string.go#L140: func (s *String) ReadUint8LengthPrefixed(out *String) bool {
string.go#L147: func (s *String) ReadUint16LengthPrefixed(out *String) bool {
string.go#L154: func (s *String) ReadUint24LengthPrefixed(out *String) bool {
string.go#L160: func (s *String) ReadBytes(out *[]byte, n int) bool {
string.go#L171: func (s *String) CopyBytes(out []byte) bool {
string.go#L181: func (s String) Empty() bool {
crypto/ecdsa
ecdsa.go#L368: var inner cryptobyte.String
ecdsa.go#L369: input := cryptobyte.String(sig)
ecdsa_legacy.go#L71: var inner cryptobyte.String
ecdsa_legacy.go#L72: input := cryptobyte.String(sig)
crypto/tls
ech.go#L59: s := cryptobyte.String(enc)
ech.go#L84: var cipherSuites cryptobyte.String
ech.go#L101: var publicName cryptobyte.String
ech.go#L106: var extensions cryptobyte.String
ech.go#L115: if !extensions.ReadUint16LengthPrefixed((*cryptobyte.String)(&e.Data)) {
ech.go#L128: s := cryptobyte.String(data)
ech.go#L227: func skipUint8LengthPrefixed(s *cryptobyte.String) bool {
ech.go#L235: func skipUint16LengthPrefixed(s *cryptobyte.String) bool {
ech.go#L249: s := cryptobyte.String(hello.original)
ech.go#L257: var extensions cryptobyte.String
ech.go#L264: var extData cryptobyte.String
ech.go#L283: innerReader := cryptobyte.String(encoded)
ech.go#L285: var extensions cryptobyte.String
ech.go#L325: var extData cryptobyte.String
ech.go#L516: s := cryptobyte.String(data)
handshake_messages.go#L44: func readUint64(s *cryptobyte.String, out *uint64) bool {
handshake_messages.go#L55: func readUint8LengthPrefixed(s *cryptobyte.String, out *[]byte) bool {
handshake_messages.go#L56: return s.ReadUint8LengthPrefixed((*cryptobyte.String)(out))
handshake_messages.go#L61: func readUint16LengthPrefixed(s *cryptobyte.String, out *[]byte) bool {
handshake_messages.go#L62: return s.ReadUint16LengthPrefixed((*cryptobyte.String)(out))
handshake_messages.go#L67: func readUint24LengthPrefixed(s *cryptobyte.String, out *[]byte) bool {
handshake_messages.go#L68: return s.ReadUint24LengthPrefixed((*cryptobyte.String)(out))
handshake_messages.go#L420: s := cryptobyte.String(data)
handshake_messages.go#L428: var cipherSuites cryptobyte.String
handshake_messages.go#L454: var extensions cryptobyte.String
handshake_messages.go#L462: var extData cryptobyte.String
handshake_messages.go#L477: var nameList cryptobyte.String
handshake_messages.go#L483: var serverName cryptobyte.String
handshake_messages.go#L505: var ignored cryptobyte.String
handshake_messages.go#L514: var curves cryptobyte.String
handshake_messages.go#L537: var sigAndAlgs cryptobyte.String
handshake_messages.go#L551: var sigAndAlgs cryptobyte.String
handshake_messages.go#L574: var protoList cryptobyte.String
handshake_messages.go#L579: var proto cryptobyte.String
handshake_messages.go#L590: var versList cryptobyte.String
handshake_messages.go#L609: var clientShares cryptobyte.String
handshake_messages.go#L640: var identities cryptobyte.String
handshake_messages.go#L653: var binders cryptobyte.String
handshake_messages.go#L873: s := cryptobyte.String(data)
handshake_messages.go#L888: var extensions cryptobyte.String
handshake_messages.go#L896: var extData cryptobyte.String
handshake_messages.go#L920: var protoList cryptobyte.String
handshake_messages.go#L924: var proto cryptobyte.String
handshake_messages.go#L931: var sctList cryptobyte.String
handshake_messages.go#L1051: s := cryptobyte.String(data)
handshake_messages.go#L1053: var extensions cryptobyte.String
handshake_messages.go#L1061: var extData cryptobyte.String
handshake_messages.go#L1069: var protoList cryptobyte.String
handshake_messages.go#L1073: var proto cryptobyte.String
handshake_messages.go#L1136: s := cryptobyte.String(data)
handshake_messages.go#L1190: s := cryptobyte.String(data)
handshake_messages.go#L1192: var extensions cryptobyte.String
handshake_messages.go#L1205: var extData cryptobyte.String
handshake_messages.go#L1299: s := cryptobyte.String(data)
handshake_messages.go#L1301: var context, extensions cryptobyte.String
handshake_messages.go#L1311: var extData cryptobyte.String
handshake_messages.go#L1323: var sigAndAlgs cryptobyte.String
handshake_messages.go#L1336: var sigAndAlgs cryptobyte.String
handshake_messages.go#L1349: var auths cryptobyte.String
handshake_messages.go#L1507: s := cryptobyte.String(data)
handshake_messages.go#L1509: var context cryptobyte.String
handshake_messages.go#L1523: func unmarshalCertificate(s *cryptobyte.String, certificate *Certificate) bool {
handshake_messages.go#L1524: var certList cryptobyte.String
handshake_messages.go#L1530: var extensions cryptobyte.String
handshake_messages.go#L1538: var extData cryptobyte.String
handshake_messages.go#L1557: var sctList cryptobyte.String
handshake_messages.go#L1625: s := cryptobyte.String(data)
handshake_messages.go#L1692: s := cryptobyte.String(data)
handshake_messages.go#L1854: s := cryptobyte.String(data)
ticket.go#L184: s := cryptobyte.String(data)
ticket.go#L187: var extra cryptobyte.String
ticket.go#L234: var chainList cryptobyte.String
ticket.go#L239: var certList cryptobyte.String
crypto/x509
parser.go#L112: func parseName(raw cryptobyte.String) (*pkix.RDNSequence, error) {
parser.go#L120: var set cryptobyte.String
parser.go#L125: var atav cryptobyte.String
parser.go#L133: var rawValue cryptobyte.String
parser.go#L152: func parseAI(der cryptobyte.String) (pkix.AlgorithmIdentifier, error) {
parser.go#L160: var params cryptobyte.String
parser.go#L170: func parseTime(der *cryptobyte.String) (time.Time, error) {
parser.go#L187: func parseValidity(der cryptobyte.String) (time.Time, time.Time, error) {
parser.go#L200: func parseExtension(der cryptobyte.String) (pkix.Extension, error) {
parser.go#L210: var val cryptobyte.String
parser.go#L221: der := cryptobyte.String(keyData.PublicKey.RightAlign())
parser.go#L254: paramsDer := cryptobyte.String(params.FullBytes)
parser.go#L303: paramsDer := cryptobyte.String(params.FullBytes)
parser.go#L320: func parseKeyUsageExtension(der cryptobyte.String) (KeyUsage, error) {
parser.go#L335: func parseBasicConstraintsExtension(der cryptobyte.String) (bool, int, error) {
parser.go#L356: func forEachSAN(der cryptobyte.String, callback func(tag int, data []byte) error) error {
parser.go#L361: var san cryptobyte.String
parser.go#L374: func parseSANExtension(der cryptobyte.String) (dnsNames, emailAddresses []string, ipAddresses []net.IP, uris []*url.URL, err error) {
parser.go#L425: val := cryptobyte.String(e.Value)
parser.go#L426: var akid cryptobyte.String
parser.go#L439: func parseExtKeyUsageExtension(der cryptobyte.String) ([]ExtKeyUsage, []asn1.ObjectIdentifier, error) {
parser.go#L459: func parseCertificatePoliciesExtension(der cryptobyte.String) ([]OID, error) {
parser.go#L466: var cp cryptobyte.String
parser.go#L467: var OIDBytes cryptobyte.String
parser.go#L525: outer := cryptobyte.String(e.Value)
parser.go#L526: var toplevel, permitted, excluded cryptobyte.String
parser.go#L544: getValues := func(subtrees cryptobyte.String) (dnsNames []string, ips []*net.IPNet, emails, uriDomains []string, err error) {
parser.go#L546: var seq, value cryptobyte.String
parser.go#L718: val := cryptobyte.String(e.Value)
parser.go#L723: var dpDER cryptobyte.String
parser.go#L727: var dpNameDER cryptobyte.String
parser.go#L742: var uri cryptobyte.String
parser.go#L756: val := cryptobyte.String(e.Value)
parser.go#L794: val := cryptobyte.String(e.Value)
parser.go#L795: var skid cryptobyte.String
parser.go#L812: val := cryptobyte.String(e.Value)
parser.go#L817: var s cryptobyte.String
parser.go#L818: var issuer, subject cryptobyte.String
parser.go#L827: val := cryptobyte.String(e.Value)
parser.go#L842: val := cryptobyte.String(e.Value)
parser.go#L847: var aiaDER cryptobyte.String
parser.go#L886: input := cryptobyte.String(der)
parser.go#L898: var tbs cryptobyte.String
parser.go#L935: var sigAISeq cryptobyte.String
parser.go#L942: var outerSigAISeq cryptobyte.String
parser.go#L955: var issuerSeq cryptobyte.String
parser.go#L966: var validity cryptobyte.String
parser.go#L975: var subjectSeq cryptobyte.String
parser.go#L986: var spki cryptobyte.String
parser.go#L994: var pkAISeq cryptobyte.String
parser.go#L1025: var extensions cryptobyte.String
parser.go#L1036: var extension cryptobyte.String
parser.go#L1108: input := cryptobyte.String(der)
parser.go#L1120: var tbs cryptobyte.String
parser.go#L1142: var sigAISeq cryptobyte.String
parser.go#L1149: var outerSigAISeq cryptobyte.String
parser.go#L1168: var issuerSeq cryptobyte.String
parser.go#L1191: var revokedSeq cryptobyte.String
parser.go#L1198: var certSeq cryptobyte.String
parser.go#L1215: var extensions cryptobyte.String
parser.go#L1222: var extension cryptobyte.String
parser.go#L1231: val := cryptobyte.String(ext.Value)
parser.go#L1250: var extensions cryptobyte.String
parser.go#L1260: var extension cryptobyte.String
parser.go#L1274: value := cryptobyte.String(ext.Value)