Home
last modified time | relevance | path

Searched refs:PublicKey (Results 1 – 25 of 93) sorted by relevance

1234

/external/conscrypt/platform/src/main/java/org/conscrypt/
DCertificatePriorityComparator.java18 import java.security.PublicKey;
107 PublicKey lhsPublicKey = lhs.getPublicKey(); in compareStrength()
108 PublicKey rhsPublicKey = rhs.getPublicKey(); in compareStrength()
120 private int compareKeyAlgorithm(PublicKey lhs, PublicKey rhs) { in compareKeyAlgorithm()
136 private int compareKeySize(PublicKey lhs, PublicKey rhs) { in compareKeySize()
147 private int getKeySize(PublicKey pkey) { in getKeySize()
DInternalUtil.java22 import java.security.PublicKey;
32 public static PublicKey logKeyToPublicKey(byte[] logKey) throws NoSuchAlgorithmException { in logKeyToPublicKey()
36 …public static PublicKey readPublicKeyPem(InputStream pem) throws InvalidKeyException, NoSuchAlgori… in readPublicKeyPem()
DTrustedCertificateIndex.java19 import java.security.PublicKey;
113 PublicKey publicKey; in findByIssuerAndSignature()
143 PublicKey certPublicKey = cert.getPublicKey(); in findBySubjectAndPublicKey()
145 PublicKey caPublicKey; in findBySubjectAndPublicKey()
187 PublicKey publicKey; in findAllByIssuerAndSignature()
/external/oauth/core/src/main/java/net/oauth/signature/
DRSA_SHA1.java24 import java.security.PublicKey;
90 private PublicKey publicKey = null;
116 if (publicKeyObject instanceof PublicKey) { in initialize()
117 publicKey = (PublicKey)publicKeyObject; in initialize()
150 private PublicKey getPublicKeyFromPemCert(String certObject) in getPublicKeyFromPemCert()
158 private PublicKey getPublicKeyFromDerCert(byte[] certObject) in getPublicKeyFromDerCert()
166 private PublicKey getPublicKeyFromDer(byte[] publicKeyObject) in getPublicKeyFromDer()
173 private PublicKey getPublicKeyFromPem(String publicKeyObject) in getPublicKeyFromPem()
/external/boringssl/src/ssl/test/runner/
Dsign.go27 verifyMessage(key crypto.PublicKey, msg, sig []byte) error argument
71 func verifyMessage(version uint16, key crypto.PublicKey, config *Config, sigAlg signatureAlgorithm,… argument
117 func (r *rsaPKCS1Signer) verifyMessage(key crypto.PublicKey, msg, sig []byte) error {
118 rsaKey, ok := key.(*rsa.PublicKey)
189 func (e *ecdsaSigner) verifyMessage(key crypto.PublicKey, msg, sig []byte) error {
190 ecdsaKey, ok := key.(*ecdsa.PublicKey)
236 func (r *rsaPSSSigner) verifyMessage(key crypto.PublicKey, msg, sig []byte) error {
237 rsaKey, ok := key.(*rsa.PublicKey)
263 func (e *ed25519Signer) verifyMessage(key crypto.PublicKey, msg, sig []byte) error {
264 pubKey, ok := key.(ed25519.PublicKey)
[all …]
Dtls.go233 case *rsa.PublicKey:
243 case *ecdsa.PublicKey:
254 case ed25519.PublicKey:
278 func getCertificatePublicKey(cert *x509.Certificate) crypto.PublicKey {
279 if cert.PublicKey != nil {
280 return cert.PublicKey
284 return ed25519.PublicKey(cert.RawSubjectPublicKeyInfo[len(ed25519SPKIPrefix):])
/external/boringssl/src/ssl/test/runner/ed25519/
Ded25519.go37 type PublicKey []byte type
43 func (priv PrivateKey) Public() crypto.PublicKey {
46 return PublicKey(publicKey)
64 func GenerateKey(rand io.Reader) (publicKey PublicKey, privateKey PrivateKey, err error) {
81 func NewKeyPairFromSeed(seed []byte) (publicKey PublicKey, privateKey PrivateKey) {
159 func Verify(publicKey PublicKey, message, sig []byte) bool { argument
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/
DJcaSimpleSignerInfoVerifierBuilder.java4 import java.security.PublicKey;
48 public SignerInformationVerifier build(PublicKey pubKey) in build()
56 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider()
91 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider()
126 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider()
DJcaSignerInfoVerifierBuilder.java4 import java.security.PublicKey;
78 public SignerInformationVerifier build(PublicKey pubKey) in build()
86 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider()
121 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider()
156 ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey) in createContentVerifierProvider()
/external/conscrypt/platform/src/main/java/org/conscrypt/ct/
DCTLogInfo.java22 import java.security.PublicKey;
38 private final PublicKey publicKey;
42 public CTLogInfo(PublicKey publicKey, String description, String url) { in CTLogInfo()
63 public PublicKey getPublicKey() { in getPublicKey()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLKey.java23 import java.security.PublicKey;
110 PrivateKey privateKey, PublicKey publicKey) throws InvalidKeyException { in fromPrivateKeyForTLSStackOnly()
189 PublicKey publicKey) throws InvalidKeyException { in wrapJCAPrivateKeyForTLSStackOnly()
210 static OpenSSLKey fromPublicKey(PublicKey key) throws InvalidKeyException { in fromPublicKey()
253 PublicKey getPublicKey() throws NoSuchAlgorithmException { in getPublicKey()
264 static PublicKey getPublicKey(X509EncodedKeySpec keySpec, int type) in getPublicKey()
DOpenSSLECKeyFactory.java24 import java.security.PublicKey;
45 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { in engineGeneratePublic()
95 } else if (key instanceof PublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
131 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
188 } else if ((key instanceof PublicKey) && ("X.509".equals(key.getFormat()))) { in engineTranslateKey()
DOpenSSLECDHKeyAgreement.java23 import java.security.PublicKey;
63 if (!(key instanceof PublicKey)) { in engineDoPhase()
66 OpenSSLKey openSslPublicKey = OpenSSLKey.fromPublicKey((PublicKey) key); in engineDoPhase()
/external/boringssl/src/crypto/evp/
Devp_tests.txt11 PublicKey = RSA-2048-SPKI
16 PublicKey = RSA-2048-SPKI-Invalid
21 PublicKey = RSA-2048-SPKI-Invalid2
57 # The public half of the same key encoded as a PublicKey.
58 PublicKey = P-256-SPKI
63 PublicKey = P-256-SPKI
68 PublicKey = P-256-SPKI
78 PublicKey = DSA-1024-SPKI
83 PublicKey = DSA-1024-SPKI-No-Params
109 PublicKey = Ed25519-SPKI
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/
DNetscapeCertRequest.java11 import java.security.PublicKey;
53 PublicKey pubkey ;
131 PublicKey pub_key) throws NoSuchAlgorithmException, in NetscapeCertRequest()
184 public PublicKey getPublicKey() in getPublicKey()
189 public void setPublicKey(PublicKey value) in setPublicKey()
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DDhiesTest.java27 import java.security.PublicKey;
85 PublicKey pub = keyPair.getPublic(); in testDhiesBasic()
113 PublicKey pub = keyPair.getPublic(); in testDhiesCorrupt()
156 PublicKey pub = keyPair.getPublic(); in testNotEcb()
DEciesTest.java25 import java.security.PublicKey;
79 PublicKey pub = keyPair.getPublic(); in testEciesBasic()
171 PublicKey pub = keyPair.getPublic(); in testExceptions()
208 PublicKey pub = keyPair.getPublic(); in testModifyPoint()
247 PublicKey pub = keyPair.getPublic(); in testNotEcb()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
DECPublicKey.java3 import java.security.PublicKey;
11 extends ECKey, PublicKey
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DKeyFactory.java7 import java.security.PublicKey;
48 protected PublicKey engineGeneratePublic( in engineGeneratePublic()
57 PublicKey key = BouncyCastleProvider.getPublicKey(info); in engineGeneratePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DAsymmetricKeyInfoConverter.java5 import java.security.PublicKey;
15 PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/jcajce/
DJcaBasicOCSPRespBuilder.java3 import java.security.PublicKey;
13 public JcaBasicOCSPRespBuilder(PublicKey key, DigestCalculator digCalc) in JcaBasicOCSPRespBuilder()
DJcaRespID.java3 import java.security.PublicKey;
21 public JcaRespID(PublicKey pubKey, DigestCalculator digCalc) in JcaRespID()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java5 import java.security.PublicKey;
105 PublicKey pubKey) in fromKey()
142 PublicKey pubKey) in AuthorityKeyIdentifierStructure()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java11 import java.security.PublicKey;
259 PublicKey key, in PKCS10CertificationRequest()
287 PublicKey key, in PKCS10CertificationRequest()
302 PublicKey key, in PKCS10CertificationRequest()
318 PublicKey key, in PKCS10CertificationRequest()
401 public PublicKey getPublicKey() in getPublicKey()
407 public PublicKey getPublicKey( in getPublicKey()
487 PublicKey pubKey, in verify()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyFactorySpi.java7 import java.security.PublicKey;
79 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic()
106 protected PublicKey engineGeneratePublic( in engineGeneratePublic()

1234