- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for RDNSequence (0.36 sec)
-
src/crypto/x509/pkix/pkix.go
) // appendRDNs appends a relativeDistinguishedNameSET to the given RDNSequence // and returns the new value. The relativeDistinguishedNameSET contains an // attributeTypeAndValue for each of the given values. See RFC 5280, A.1, and // search for AttributeTypeAndValue. func (n Name) appendRDNs(in RDNSequence, values []string, oid asn1.ObjectIdentifier) RDNSequence { if len(values) == 0 || oidInAttributeTypeAndValue(oid, n.ExtraNames) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 9.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* -- only one possibility for now -- * rdnSequence RDNSequence * } * ``` */ internal val name: DerAdapter<Pair<DerAdapter<*>, Any?>> = Adapters.choice( rdnSequence, ) /** * ``` * SubjectPublicKeyInfo ::= SEQUENCE { * algorithm AlgorithmIdentifier, * subjectPublicKey BIT STRING * } * ``` */
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.6K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/config.go
} // nolint: unparam return func(info *tls.CertificateRequestInfo) (*tls.Certificate, error) { fwLog.Debugf("Peer asking for client certificate") for i, ca := range info.AcceptableCAs { x := &pkix.RDNSequence{} if _, err := asn1.Unmarshal(ca, x); err != nil { fwLog.Errorf("Failed to decode AcceptableCA[%d]: %v", i, err) } else { name := &pkix.Name{} name.FillFromRDNSequence(x)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 9.8K bytes - Viewed (0) -
src/crypto/x509/parser.go
// want to export this function in the future for use in crypto/tls. func parseName(raw cryptobyte.String) (*pkix.RDNSequence, error) { if !raw.ReadASN1(&raw, cryptobyte_asn1.SEQUENCE) { return nil, errors.New("x509: invalid RDNSequence") } var rdnSeq pkix.RDNSequence for !raw.Empty() { var rdnSet pkix.RelativeDistinguishedNameSET var set cryptobyte.String
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 38.5K bytes - Viewed (0) -
src/encoding/asn1/asn1_test.go
SerialNumber RawValue SignatureAlgorithm AlgorithmIdentifier Issuer RDNSequence Validity Validity Subject RDNSequence PublicKey PublicKeyInfo } type AlgorithmIdentifier struct { Algorithm ObjectIdentifier } type RDNSequence []RelativeDistinguishedNameSET type RelativeDistinguishedNameSET []AttributeTypeAndValue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 29 18:24:36 UTC 2023 - 43.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
val issuerKeyPair: KeyPair val issuer: List<List<AttributeTypeAndValue>> if (signedBy != null) { issuerKeyPair = signedBy!!.keyPair issuer = CertificateAdapters.rdnSequence.fromDer( signedBy!!.certificate.subjectX500Principal.encoded.toByteString(), ) } else { issuerKeyPair = subjectKeyPair issuer = subject }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.6K bytes - Viewed (0) -
api/go1.10.txt
pkg crypto/x509, type CertificateRequest struct, URIs []*url.URL pkg crypto/x509, type VerifyOptions struct, MaxConstraintComparisions int pkg crypto/x509/pkix, method (Name) String() string pkg crypto/x509/pkix, method (RDNSequence) String() string pkg database/sql, func OpenDB(driver.Connector) *DB pkg database/sql/driver, type Connector interface { Connect, Driver } pkg database/sql/driver, type Connector interface, Connect(context.Context) (Conn, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 06 05:00:01 UTC 2018 - 30.1K bytes - Viewed (0) -
src/crypto/x509/x509.go
CRLIssuer asn1.RawValue `asn1:"optional,tag:2"` } type distributionPointName struct { FullName []asn1.RawValue `asn1:"optional,tag:0"` RelativeName pkix.RDNSequence `asn1:"optional,tag:1"` } func reverseBitsInAByte(in byte) byte { b1 := in>>4 | in<<4 b2 := b1>>2&0x33 | b1<<2&0xcc b3 := b2>>1&0x55 | b2<<1&0xaa return b3 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:20:15 UTC 2024 - 82K bytes - Viewed (0) -
pkg/apis/certificates/validation/validation_test.go
strictRegexes: []regexp.Regexp{*regexp.MustCompile(`status.certificate: Invalid value: "\<certificate data\>": (asn1: structure error: sequence tag mismatch|x509: invalid RDNSequence)`)}, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { // make sure the lenient options validate with no errors
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:49 UTC 2023 - 61K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
oidOrganization = []int{2, 5, 4, 10} oidOrganizationalUnit = []int{2, 5, 4, 11} oidCommonName = []int{2, 5, 4, 3} ) tests := []struct { seq pkix.RDNSequence want string }{ { seq: pkix.RDNSequence{ pkix.RelativeDistinguishedNameSET{ pkix.AttributeTypeAndValue{Type: oidCountry, Value: "US"}, }, pkix.RelativeDistinguishedNameSET{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0)