- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for SignatureAlgorithm (0.31 sec)
-
pkg/serviceaccount/openidmetadata.go
} if !jwk.IsPublic() { return nil, fmt.Errorf("JWK was not a public key! JWK: %v", jwk) } return jwk, nil } func algorithmFromPublicKey(publicKey crypto.PublicKey) (jose.SignatureAlgorithm, error) { switch pk := publicKey.(type) { case *rsa.PublicKey: // IMPORTANT: If this function is updated to support additional key sizes, // signerFromRSAPrivateKey in serviceaccount/jwt.go must also be
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 12 00:23:31 UTC 2020 - 9.4K bytes - Viewed (0) -
pkg/serviceaccount/jwt.go
if err != nil { return nil, fmt.Errorf("failed to create signer: %v", err) } return signer, nil } func signerFromECDSAPrivateKey(keyPair *ecdsa.PrivateKey) (jose.Signer, error) { var alg jose.SignatureAlgorithm switch keyPair.Curve { case elliptic.P256(): alg = jose.ES256 case elliptic.P384(): alg = jose.ES384 case elliptic.P521(): alg = jose.ES512 default:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 22:16:08 UTC 2024 - 10.7K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
unusedBitsCount = 0, ), ), issuerUniqueID = null, subjectUniqueID = null, extensions = listOf(), ), signatureAlgorithm = AlgorithmIdentifier( algorithm = SHA256_WITH_RSA_ENCRYPTION, parameters = null, ), signatureValue = BitString(
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 43.9K bytes - Viewed (0) -
api/go1.8.txt
pkg crypto/x509, const SHA256WithRSAPSS = 13 pkg crypto/x509, const SHA256WithRSAPSS SignatureAlgorithm pkg crypto/x509, const SHA384WithRSAPSS = 14 pkg crypto/x509, const SHA384WithRSAPSS SignatureAlgorithm pkg crypto/x509, const SHA512WithRSAPSS = 15 pkg crypto/x509, const SHA512WithRSAPSS SignatureAlgorithm pkg crypto/x509, type UnknownAuthorityError struct, Cert *Certificate pkg database/sql, const LevelDefault = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 21 05:25:57 UTC 2016 - 16.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
import okio.Buffer import okio.ByteString import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement internal data class Certificate( val tbsCertificate: TbsCertificate, val signatureAlgorithm: AlgorithmIdentifier, val signatureValue: BitString, ) { val commonName: 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) -
src/crypto/tls/handshake_client_tls13.go
} // See RFC 8446, Section 4.4.3. if !isSupportedSignatureAlgorithm(certVerify.signatureAlgorithm, supportedSignatureAlgorithms()) { c.sendAlert(alertIllegalParameter) return errors.New("tls: certificate used with invalid signature algorithm") } sigType, sigHash, err := typeAndHashFromSignatureScheme(certVerify.signatureAlgorithm) if err != nil { return c.sendAlert(alertInternalError) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 27.9K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/oidc_test.go
} }) } } func generateJWT(key *jose.JSONWebKey, claims []byte) (string, error) { signer, err := jose.NewSigner(jose.SigningKey{ Algorithm: jose.SignatureAlgorithm(key.Algorithm), Key: key, }, nil) if err != nil { return "", fmt.Errorf("failed to create a signer: %v", err) } signature, err := signer.Sign(claims) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/controller/certificates/authority/authority_test.go
t.Fatal(err) } cert, err := x509.ParseCertificate(certDER) if err != nil { t.Fatal(err) } opts := cmp.Options{ cmpopts.IgnoreFields(x509.Certificate{}, "SignatureAlgorithm", "PublicKeyAlgorithm", "Version", "MaxPathLen", ), diff.IgnoreUnset(), cmp.Transformer("RoundTime", func(x time.Time) time.Time { return x.Truncate(time.Second)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 23 19:36:11 UTC 2021 - 7.3K bytes - Viewed (0) -
src/crypto/tls/handshake_client.go
var sigType uint8 var sigHash crypto.Hash if c.vers >= VersionTLS12 { signatureAlgorithm, err := selectSignatureScheme(c.vers, chainToSend, certReq.supportedSignatureAlgorithms) if err != nil { c.sendAlert(alertIllegalParameter) return err } sigType, sigHash, err = typeAndHashFromSignatureScheme(signatureAlgorithm) if err != nil { return c.sendAlert(alertInternalError) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 38.6K bytes - Viewed (0) -
src/crypto/x509/root_windows.go
// ones we parsed. (We don't support custom curves ourselves.) for i, parent := range chain[1:] { if parent.PublicKeyAlgorithm != ECDSA { continue } if err := parent.CheckSignature(chain[i].SignatureAlgorithm, chain[i].RawTBSCertificate, chain[i].Signature); err != nil { return nil, err } } return chain, nil } // systemVerify is like Verify, except that it uses CryptoAPI calls
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:41:40 UTC 2023 - 8.7K bytes - Viewed (0)