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#L540: var inner cryptobyte.String
ecdsa.go#L541: input := cryptobyte.String(sig)
ecdsa_legacy.go#L71: var inner cryptobyte.String
ecdsa_legacy.go#L72: input := cryptobyte.String(sig)
crypto/tls
ech.go#L70: s := cryptobyte.String(enc)
ech.go#L95: var cipherSuites cryptobyte.String
ech.go#L112: var publicName cryptobyte.String
ech.go#L117: var extensions cryptobyte.String
ech.go#L126: if !extensions.ReadUint16LengthPrefixed((*cryptobyte.String)(&e.Data)) {
ech.go#L139: s := cryptobyte.String(data)
ech.go#L238: func skipUint8LengthPrefixed(s *cryptobyte.String) bool {
ech.go#L246: func skipUint16LengthPrefixed(s *cryptobyte.String) bool {
ech.go#L260: s := cryptobyte.String(hello.original)
ech.go#L268: var extensions cryptobyte.String
ech.go#L275: var extData cryptobyte.String
ech.go#L294: innerReader := cryptobyte.String(encoded)
ech.go#L296: var extensions cryptobyte.String
ech.go#L336: var extData cryptobyte.String
ech.go#L527: 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#L1056: s := cryptobyte.String(data)
handshake_messages.go#L1058: var extensions cryptobyte.String
handshake_messages.go#L1067: var extData cryptobyte.String
handshake_messages.go#L1080: var protoList cryptobyte.String
handshake_messages.go#L1084: var proto cryptobyte.String
handshake_messages.go#L1152: s := cryptobyte.String(data)
handshake_messages.go#L1206: s := cryptobyte.String(data)
handshake_messages.go#L1208: var extensions cryptobyte.String
handshake_messages.go#L1221: var extData cryptobyte.String
handshake_messages.go#L1315: s := cryptobyte.String(data)
handshake_messages.go#L1317: var context, extensions cryptobyte.String
handshake_messages.go#L1327: var extData cryptobyte.String
handshake_messages.go#L1339: var sigAndAlgs cryptobyte.String
handshake_messages.go#L1352: var sigAndAlgs cryptobyte.String
handshake_messages.go#L1365: var auths cryptobyte.String
handshake_messages.go#L1523: s := cryptobyte.String(data)
handshake_messages.go#L1525: var context cryptobyte.String
handshake_messages.go#L1539: func unmarshalCertificate(s *cryptobyte.String, certificate *Certificate) bool {
handshake_messages.go#L1540: var certList cryptobyte.String
handshake_messages.go#L1546: var extensions cryptobyte.String
handshake_messages.go#L1554: var extData cryptobyte.String
handshake_messages.go#L1573: var sctList cryptobyte.String
handshake_messages.go#L1641: s := cryptobyte.String(data)
handshake_messages.go#L1708: s := cryptobyte.String(data)
handshake_messages.go#L1870: s := cryptobyte.String(data)
ticket.go#L189: s := cryptobyte.String(data)
ticket.go#L192: var extra cryptobyte.String
ticket.go#L248: var chainList cryptobyte.String
ticket.go#L253: var certList cryptobyte.String
crypto/x509
parser.go#L144: func parseName(raw cryptobyte.String) (*pkix.RDNSequence, error) {
parser.go#L152: var set cryptobyte.String
parser.go#L157: var atav cryptobyte.String
parser.go#L165: var rawValue cryptobyte.String
parser.go#L184: func parseAI(der cryptobyte.String) (pkix.AlgorithmIdentifier, error) {
parser.go#L192: var params cryptobyte.String
parser.go#L202: func parseTime(der *cryptobyte.String) (time.Time, error) {
parser.go#L219: func parseValidity(der cryptobyte.String) (time.Time, time.Time, error) {
parser.go#L232: func parseExtension(der cryptobyte.String) (pkix.Extension, error) {
parser.go#L242: var val cryptobyte.String
parser.go#L253: der := cryptobyte.String(keyData.PublicKey.RightAlign())
parser.go#L286: paramsDer := cryptobyte.String(params.FullBytes)
parser.go#L335: paramsDer := cryptobyte.String(params.FullBytes)
parser.go#L352: func parseKeyUsageExtension(der cryptobyte.String) (KeyUsage, error) {
parser.go#L367: func parseBasicConstraintsExtension(der cryptobyte.String) (bool, int, error) {
parser.go#L390: func forEachSAN(der cryptobyte.String, callback func(tag int, data []byte) error) error {
parser.go#L395: var san cryptobyte.String
parser.go#L408: func parseSANExtension(der cryptobyte.String) (dnsNames, emailAddresses []string, ipAddresses []net.IP, uris []*url.URL, err error) {
parser.go#L457: val := cryptobyte.String(e.Value)
parser.go#L458: var akid cryptobyte.String
parser.go#L471: func parseExtKeyUsageExtension(der cryptobyte.String) ([]ExtKeyUsage, []asn1.ObjectIdentifier, error) {
parser.go#L491: func parseCertificatePoliciesExtension(der cryptobyte.String) ([]OID, error) {
parser.go#L498: var cp cryptobyte.String
parser.go#L499: var OIDBytes cryptobyte.String
parser.go#L557: outer := cryptobyte.String(e.Value)
parser.go#L558: var toplevel, permitted, excluded cryptobyte.String
parser.go#L576: getValues := func(subtrees cryptobyte.String) (dnsNames []string, ips []*net.IPNet, emails, uriDomains []string, err error) {
parser.go#L578: var seq, value cryptobyte.String
parser.go#L729: val := cryptobyte.String(e.Value)
parser.go#L734: var dpDER cryptobyte.String
parser.go#L738: var dpNameDER cryptobyte.String
parser.go#L753: var uri cryptobyte.String
parser.go#L767: val := cryptobyte.String(e.Value)
parser.go#L805: val := cryptobyte.String(e.Value)
parser.go#L806: var skid cryptobyte.String
parser.go#L823: val := cryptobyte.String(e.Value)
parser.go#L828: var s cryptobyte.String
parser.go#L829: var issuer, subject cryptobyte.String
parser.go#L838: val := cryptobyte.String(e.Value)
parser.go#L853: val := cryptobyte.String(e.Value)
parser.go#L858: var aiaDER cryptobyte.String
parser.go#L897: input := cryptobyte.String(der)
parser.go#L909: var tbs cryptobyte.String
parser.go#L946: var sigAISeq cryptobyte.String
parser.go#L953: var outerSigAISeq cryptobyte.String
parser.go#L966: var issuerSeq cryptobyte.String
parser.go#L977: var validity cryptobyte.String
parser.go#L986: var subjectSeq cryptobyte.String
parser.go#L997: var spki cryptobyte.String
parser.go#L1005: var pkAISeq cryptobyte.String
parser.go#L1036: var extensions cryptobyte.String
parser.go#L1047: var extension cryptobyte.String
parser.go#L1119: input := cryptobyte.String(der)
parser.go#L1131: var tbs cryptobyte.String
parser.go#L1153: var sigAISeq cryptobyte.String
parser.go#L1160: var outerSigAISeq cryptobyte.String
parser.go#L1179: var issuerSeq cryptobyte.String
parser.go#L1202: var revokedSeq cryptobyte.String
parser.go#L1209: var certSeq cryptobyte.String
parser.go#L1226: var extensions cryptobyte.String
parser.go#L1233: var extension cryptobyte.String
parser.go#L1242: val := cryptobyte.String(ext.Value)
parser.go#L1261: var extensions cryptobyte.String
parser.go#L1271: var extension cryptobyte.String
parser.go#L1285: value := cryptobyte.String(ext.Value)