- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 101 for common_name (0.2 sec)
-
cmd/kubeadm/test/kubeconfig/util.go
// Asserts the clientCert has ClientAuth ExtKeyUsage certstestutil.AssertCertificateHasClientAuthUsage(t, currentClientCert) // Asserts the clientCert has expected expectedUserName as CommonName certstestutil.AssertCertificateHasCommonName(t, currentClientCert, expectedClientName) // Asserts the clientCert has expected Organizations
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/sts-handlers.go
// Associate any service accounts to the certificate CN parentUser := "tls" + getKeySeparator() + certificate.Subject.CommonName claims[expClaim] = UTCNow().Add(expiry).Unix() claims[subClaim] = certificate.Subject.CommonName claims[audClaim] = certificate.Subject.Organization claims[issClaim] = certificate.Issuer.CommonName claims[parentClaim] = parentUser secretKey, err := getTokenSigningKey() if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 33.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocketChannelTest.kt
private val handshakeCertificates = run { // Generate a self-signed cert for the server to serve and the client to trust. val heldCertificate = HeldCertificate.Builder() .commonName(hostname) .addSubjectAlternativeName(hostname) .build() HandshakeCertificates.Builder() .heldCertificate(heldCertificate) .addTrustedCertificate(heldCertificate.certificate)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
assertThat(verifier.verify("0:0:0:0:0:FFFF:C0A8:0101", session)).isTrue() } @Test fun generatedCertificate() { val heldCertificate = HeldCertificate.Builder() .commonName("Foo Corp") .addSubjectAlternativeName("foo.com") .build() val session = session(heldCertificate.certificatePem()) assertThat(verifier.verify("foo.com", session)).isTrue()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 40.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
import okhttp3.internal.commonGet import okhttp3.internal.commonHashCode import okhttp3.internal.commonHeadersGet import okhttp3.internal.commonHeadersOf import okhttp3.internal.commonIterator import okhttp3.internal.commonName import okhttp3.internal.commonNewBuilder import okhttp3.internal.commonRemoveAll import okhttp3.internal.commonSet import okhttp3.internal.commonToHeaders import okhttp3.internal.commonToString
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/manager.go
default: return false, errors.Errorf("unknown certificate authority %s", caBaseName) } } func certToConfig(cert *x509.Certificate) certutil.Config { return certutil.Config{ CommonName: cert.Subject.CommonName, Organization: cert.Subject.Organization, AltNames: certutil.AltNames{ IPs: cert.IPAddresses, DNSNames: cert.DNSNames, }, Usages: cert.ExtKeyUsage, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15K bytes - Viewed (0) -
src/crypto/x509/verify_test.go
} return chainStr } func nameToKey(name *pkix.Name) string { return strings.Join(name.Country, ",") + "/" + strings.Join(name.Organization, ",") + "/" + strings.Join(name.OrganizationalUnit, ",") + "/" + name.CommonName } const gtsIntermediate = `-----BEGIN CERTIFICATE----- MIIFljCCA36gAwIBAgINAgO8U1lrNMcY9QFQZjANBgkqhkiG9w0BAQsFADBHMQsw CQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEU
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
* limitations under the License. */ @file:Suppress("ktlint:standard:filename") package okhttp3.internal import okhttp3.Headers internal fun Headers.commonName(index: Int): String = namesAndValues.getOrNull(index * 2) ?: throw IndexOutOfBoundsException("name[$index]") internal fun Headers.commonValue(index: Int): String =
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
rootCa = HeldCertificate.Builder() .serialNumber(1L) .certificateAuthority(0) .commonName("root") .build() certificate = HeldCertificate.Builder() .signedBy(rootCa) .serialNumber(2L) .commonName(server.hostName) .addSubjectAlternativeName(server.hostName) .addSubjectAlternativeName("san.com")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 18.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates_test.go
priv, err := rsa.GenerateKey(rand.Reader, 2048) if err != nil { return nil, nil, err } template := x509.Certificate{ SerialNumber: big.NewInt(1), Subject: pkix.Name{ CommonName: fmt.Sprintf("%s@%d", host, time.Now().Unix()), }, NotBefore: time.Unix(0, 0), NotAfter: time.Now().Add(time.Hour * 24 * 365 * 100),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 20 08:42:09 UTC 2021 - 8K bytes - Viewed (0)