- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for common_name (0.72 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
import java.util.TimeZone import okhttp3.tls.HeldCertificate import okhttp3.tls.decodeCertificatePem import okhttp3.tls.internal.der.ObjectIdentifiers.BASIC_CONSTRAINTS import okhttp3.tls.internal.der.ObjectIdentifiers.COMMON_NAME import okhttp3.tls.internal.der.ObjectIdentifiers.ORGANIZATIONAL_UNIT_NAME import okhttp3.tls.internal.der.ObjectIdentifiers.RSA_ENCRYPTION import okhttp3.tls.internal.der.ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 43.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/ObjectIdentifiers.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
val tbsCertificate: TbsCertificate, val signatureAlgorithm: AlgorithmIdentifier, val signatureValue: BitString, ) { val commonName: Any? get() { return tbsCertificate.subject .flatten() .firstOrNull { it.type == ObjectIdentifiers.COMMON_NAME } ?.value } val organizationalUnitName: Any? get() { return tbsCertificate.subject .flatten()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
security/pkg/pki/util/generate_cert_test.go
} if len(c.csrTemplate.Subject.CommonName) == 0 { if len(out.Subject.CommonName) > 0 { t.Errorf("Common name should be empty, but got %s", out.Subject.CommonName) } } else if out.Subject.CommonName != c.subjectIDs[0] { t.Errorf("Unmatched common name, expected %s, got %s", c.subjectIDs[0], out.Subject.CommonName) } if len(out.Subject.Organization) > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 06 12:48:53 UTC 2023 - 29.4K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
import okhttp3.tls.internal.der.CertificateAdapters.generalNameIpAddress import okhttp3.tls.internal.der.ObjectIdentifiers.BASIC_CONSTRAINTS import okhttp3.tls.internal.der.ObjectIdentifiers.COMMON_NAME import okhttp3.tls.internal.der.ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION import okhttp3.tls.internal.der.ObjectIdentifiers.SUBJECT_ALTERNATIVE_NAME import okio.Buffer import okio.ByteString.Companion.decodeHex
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
value = organizationalUnit, ), ) } result += listOf( AttributeTypeAndValue( type = ObjectIdentifiers.COMMON_NAME, value = commonName ?: UUID.randomUUID().toString(), ), ) return result } private fun validity(): Validity {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
val rootCa = HeldCertificate.Builder() .serialNumber(1L) .certificateAuthority(1) .commonName("root") .build() val intermediateCa = HeldCertificate.Builder() .signedBy(rootCa) .certificateAuthority(0) .serialNumber(2L) .commonName("intermediate_ca") .build() val certificate = HeldCertificate.Builder()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/util.go
// kube-apiserver usage of certs. func GetHumanCertDetail(certificate *x509.Certificate) string { humanName := certificate.Subject.CommonName signerHumanName := certificate.Issuer.CommonName if certificate.Subject.CommonName == certificate.Issuer.CommonName { signerHumanName = "<self>" } usages := []string{} for _, curr := range certificate.ExtKeyUsage { if curr == x509.ExtKeyUsageClientAuth {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 21 07:29:30 UTC 2022 - 2.1K bytes - Viewed (0) -
pkg/controller/certificates/signer/signer_test.go
if err != nil { t.Fatalf("failed to parse certificate: %v", err) } if len(certs) != 1 { t.Fatalf("expected one certificate") } want := x509.Certificate{ Version: 3, Subject: pkix.Name{ CommonName: "system:node:k-a-node-s36b", Organization: []string{"system:nodes"}, }, KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageKeyEncipherment,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 02 21:12:04 UTC 2022 - 15K bytes - Viewed (0) -
cmd/kubeadm/app/util/certs/util.go
// the expected SubjectCommonName func AssertCertificateHasCommonName(t *testing.T, cert *x509.Certificate, commonName string) { if cert.Subject.CommonName != commonName { t.Errorf("cert has Subject.CommonName %s, expected %s", cert.Subject.CommonName, commonName) } } // AssertCertificateHasOrganizations is a utility function for kubeadm testing that asserts if a given certificate has
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 9.1K bytes - Viewed (0)