- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for PublicKey (0.05 sec)
-
cmd/sftp-server.go
} func sshPubKeyAuth(c ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error) { return authenticateSSHConnection(c, key, nil) } func sshPasswordAuth(c ssh.ConnMetadata, pass []byte) (*ssh.Permissions, error) { return authenticateSSHConnection(c, nil, pass) } func authenticateSSHConnection(c ssh.ConnMetadata, key ssh.PublicKey, pass []byte) (*ssh.Permissions, error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
/** * Sets the public/private key pair used for this certificate. If unset a key pair will be * generated. */ fun keyPair( publicKey: PublicKey, privateKey: PrivateKey, ) = apply { keyPair(KeyPair(publicKey, privateKey)) } /** * Set the certificate that will issue this certificate. If unset the certificate will be * self-signed. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
api/go1.25.txt
pkg crypto/ecdsa, func ParseUncompressedPublicKey(elliptic.Curve, []uint8) (*PublicKey, error) #63963 pkg crypto/ecdsa, method (*PrivateKey) Bytes() ([]uint8, error) #63963 pkg crypto/ecdsa, method (*PublicKey) Bytes() ([]uint8, error) #63963 pkg crypto/sha3, method (*SHA3) Clone() (hash.Cloner, error) #69521
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jun 02 16:09:57 UTC 2025 - 6.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
val issuer = cert.issuerX500Principal val subjectCaCerts = subjectToCaCerts[issuer] ?: return null return subjectCaCerts.firstOrNull { try { cert.verify(it.publicKey) return@firstOrNull true } catch (_: Exception) { return@firstOrNull false } } } override fun equals(other: Any?): Boolean = other === this ||
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.8K bytes - Viewed (0) -
docs/debugging/inspect/main.go
if err != nil { fmt.Printf("error when encode private pem: %s n", err) os.Exit(1) } // dump public key to file publicKeyBytes := x509.MarshalPKCS1PublicKey(&privatekey.PublicKey) if err != nil { fmt.Printf("error when dumping publickey: %s n", err) os.Exit(1) } publicKeyBlock := &pem.Block{ Type: "PUBLIC KEY", Bytes: publicKeyBytes, } publicPem, err := os.Create("support_public.pem")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 17 17:09:42 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* privateKeyAlgorithm PrivateKeyAlgorithmIdentifier, * privateKey PrivateKey, * attributes [0] Attributes OPTIONAL, * ..., * [[2: publicKey [1] PublicKey OPTIONAL ]], * ... * } * * PrivateKeyInfo ::= OneAsymmetricKey * ``` */ internal val privateKeyInfo: BasicDerAdapter<PrivateKeyInfo> = Adapters.sequence(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 13.6K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
"Ivq32BsloQu6LlvX1wJ4YEoUCjDlPOtpht7XLbUmBnbIzN89XK4UJVM6Sqp3K88Km8z7gMrdrfTom/274wL25fICR+" + "yDEQ5fUVYBmJAKXZF1aoI0mIoEx0xFsQhIJ637v2MxJDupd61wIDAQAB" ).decodeBase64()!! val publicKey = keyFactory.generatePublic( X509EncodedKeySpec(publicKeyBytes.toByteArray()), ) val privateKeyBytes = (
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 22.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
} companion object { @JvmField val DEFAULT = Builder().build() @JvmStatic fun X509Certificate.sha1Hash(): ByteString = publicKey.encoded.toByteString().sha1() @JvmStatic fun X509Certificate.sha256Hash(): ByteString = publicKey.encoded.toByteString().sha256() /** * Returns the SHA-256 of `certificate`'s public key. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
) val keyFactory = KeyFactory.getInstance("RSA") val publicKey = keyFactory.generatePublic(X509EncodedKeySpec(x509PublicKey.toByteArray())) val privateKey = keyFactory.generatePrivate(PKCS8EncodedKeySpec(privateKeyBytes.toByteArray())) val certificate = HeldCertificate .Builder() .keyPair(publicKey, privateKey) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 43.9K bytes - Viewed (0) -
cmd/admin-handlers.go
return } var publicKey *rsa.PublicKey publicKeyB64 := r.Form.Get("public-key") if publicKeyB64 != "" { publicKeyBytes, err := base64.StdEncoding.DecodeString(publicKeyB64) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } publicKey, err = bytesToPublicKey(publicKeyBytes) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0)