/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | IdentityScope2Test.java | 32 static PublicKey pubKey; field in IdentityScope2Test 36 pubKey = KeyPairGenerator.getInstance("DSA").genKeyPair().getPublic(); 145 id.setPublicKey(pubKey); in test_addIdentityLjava_security_Identity() 149 id2.setPublicKey(pubKey); in test_addIdentityLjava_security_Identity() 164 id.setPublicKey(pubKey); in test_removeIdentityLjava_security_Identity() 182 id.setPublicKey(pubKey); in test_identities() 195 id.setPublicKey(pubKey); in test_getIdentityLjava_security_Principal() 211 id.setPublicKey(pubKey); in test_getIdentityLjava_security_PublicKey() 213 Identity returnedId = sub.getIdentity(pubKey); in test_getIdentityLjava_security_PublicKey() 225 id.setPublicKey(pubKey); in test_getIdentityLjava_lang_String() [all …]
|
D | Identity2Test.java | 37 static PublicKey pubKey; field in Identity2Test 41 pubKey = KeyPairGenerator.getInstance("DSA").genKeyPair().getPublic(); 186 sub.setPublicKey(pubKey); in test_getPublicKey() 188 assertEquals("Wrong PublicKey returned", pubKey, returnedPubKey); in test_getPublicKey()
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLECPublicKey.java | 54 OpenSSLECPointContext pubKey = OpenSSLECPointContext.getInstance( in OpenSSLECPublicKey() local 57 pubKey.getNativeRef(), null)); in OpenSSLECPublicKey() 67 OpenSSLECPointContext pubKey = OpenSSLECPointContext.getInstance( in getInstance() local 71 pubKey.getNativeRef(), null)); in getInstance() 98 final OpenSSLECPointContext pubKey = new OpenSSLECPointContext(group, in getPublicKey() local 101 return pubKey.getECPoint(); in getPublicKey()
|
D | OpenSSLRSAKeyPairGenerator.java | 48 PublicKey pubKey = new OpenSSLRSAPublicKey(key); in generateKeyPair() local 50 return new KeyPair(pubKey, privKey); in generateKeyPair()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/ |
D | AuthorityKeyIdentifierStructure.java | 105 PublicKey pubKey) in fromKey() argument 110 SubjectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(pubKey.getEncoded()); in fromKey() 142 PublicKey pubKey) in AuthorityKeyIdentifierStructure() argument 145 super(fromKey(pubKey)); in AuthorityKeyIdentifierStructure()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | KeyPairGeneratorSpi.java | 176 BCECPublicKey pubKey = new BCECPublicKey(algorithm, pub, p, configuration); in generateKeyPair() local 177 return new KeyPair(pubKey, in generateKeyPair() 178 new BCECPrivateKey(algorithm, priv, pubKey, p, configuration)); in generateKeyPair() 189 BCECPublicKey pubKey = new BCECPublicKey(algorithm, pub, p, configuration); in generateKeyPair() local 191 … return new KeyPair(pubKey, new BCECPrivateKey(algorithm, priv, pubKey, p, configuration)); in generateKeyPair()
|
D | KeyAgreementSpi.java | 102 CipherParameters pubKey; in engineDoPhase() local 137 pubKey = ECUtil.generatePublicKeyParameter((PublicKey)key); in engineDoPhase() 145 result = agreement.calculateAgreement(pubKey); in engineDoPhase()
|
D | BCECPrivateKey.java | 122 BCECPublicKey pubKey, in BCECPrivateKey() argument 149 publicKey = getPublicKeyDetails(pubKey); in BCECPrivateKey() 155 BCECPublicKey pubKey, in BCECPrivateKey() argument 184 publicKey = getPublicKeyDetails(pubKey); in BCECPrivateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyAgreementSpi.java | 97 DHPublicKey pubKey = (DHPublicKey)key; in engineDoPhase() local 99 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p)) in engineDoPhase() 114 return new BCDHPublicKey(result, pubKey.getParams()); in engineDoPhase()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JCERSAPublicKey.java | 50 …org.bouncycastle.asn1.pkcs.RSAPublicKey pubKey = org.bouncycastle.asn1.pkcs.RSAPublicKey.getInst… in JCERSAPublicKey() local 52 this.modulus = pubKey.getModulus(); in JCERSAPublicKey() 53 this.publicExponent = pubKey.getPublicExponent(); in JCERSAPublicKey()
|
D | JCEECPrivateKey.java | 115 JCEECPublicKey pubKey, in JCEECPrivateKey() argument 140 publicKey = getPublicKeyDetails(pubKey); in JCEECPrivateKey() 146 JCEECPublicKey pubKey, in JCEECPrivateKey() argument 179 publicKey = getPublicKeyDetails(pubKey); in JCEECPrivateKey()
|
D | CertPathValidatorUtilities.java | 1212 PublicKey pubKey = cert.getPublicKey(); in getNextWorkingKey() local 1213 if (!(pubKey instanceof DSAPublicKey)) in getNextWorkingKey() 1215 return pubKey; in getNextWorkingKey() 1217 DSAPublicKey dsaPubKey = (DSAPublicKey)pubKey; in getNextWorkingKey() 1225 pubKey = parentCert.getPublicKey(); in getNextWorkingKey() 1226 if (!(pubKey instanceof DSAPublicKey)) in getNextWorkingKey() 1231 DSAPublicKey prevDSAPubKey = (DSAPublicKey)pubKey; in getNextWorkingKey()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/jcajce/ |
D | JcaRespID.java | 21 public JcaRespID(PublicKey pubKey, DigestCalculator digCalc) in JcaRespID() argument 24 super(SubjectPublicKeyInfo.getInstance(pubKey.getEncoded()), digCalc); in JcaRespID()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | BCRSAPublicKey.java | 65 …org.bouncycastle.asn1.pkcs.RSAPublicKey pubKey = org.bouncycastle.asn1.pkcs.RSAPublicKey.getInsta… in populateFromPublicKeyInfo() local 68 this.modulus = pubKey.getModulus(); in populateFromPublicKeyInfo() 69 this.publicExponent = pubKey.getPublicExponent(); in populateFromPublicKeyInfo()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/ |
D | DHBasicAgreement.java | 60 CipherParameters pubKey) in calculateAgreement() argument 62 DHPublicKeyParameters pub = (DHPublicKeyParameters)pubKey; in calculateAgreement()
|
D | ECDHBasicAgreement.java | 45 CipherParameters pubKey) in calculateAgreement() argument 48 ECPoint peerPoint = ((ECPublicKeyParameters) pubKey).getQ(); in calculateAgreement()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | ECUtil.java | 137 java.security.interfaces.ECPublicKey pubKey = (java.security.interfaces.ECPublicKey)key; in generatePublicKeyParameter() local 138 ECParameterSpec s = EC5Util.convertSpec(pubKey.getParams(), false); in generatePublicKeyParameter() 140 EC5Util.convertPoint(pubKey.getParams(), pubKey.getW(), false), in generatePublicKeyParameter()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
D | PublicKeyFactory.java | 93 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey()); in createKey() local 95 return new RSAKeyParameters(false, pubKey.getModulus(), pubKey.getPublicExponent()); in createKey()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/ |
D | JcaSimpleSignerInfoVerifierBuilder.java | 48 public SignerInformationVerifier build(PublicKey pubKey) in build() argument 51 …gnatureAlgorithmIdentifierFinder(), helper.createContentVerifierProvider(pubKey), helper.createDig… in build()
|
D | JcaSignerInfoVerifierBuilder.java | 78 public SignerInformationVerifier build(PublicKey pubKey) in build() argument 81 …ifier(sigAlgNameGen, sigAlgIDFinder, helper.createContentVerifierProvider(pubKey), digestProvider); in build()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
D | BasicAgreement.java | 25 BigInteger calculateAgreement(CipherParameters pubKey); in calculateAgreement() argument
|
/external/boringssl/src/ssl/test/runner/ |
D | key_agreement.go | 493 pubKey, ok := cert.PublicKey.(*ecdsa.PublicKey) 504 if !ecdsa.Verify(pubKey, digest, ecdsaSig.R, ecdsaSig.S) { 508 pubKey, ok := cert.PublicKey.(*rsa.PublicKey) 512 if err := rsa.VerifyPKCS1v15(pubKey, hashFunc, digest, sig); err != nil {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
D | PKCS10CertificationRequest.java | 487 PublicKey pubKey, in verify() argument 531 sig.initVerify(pubKey); in verify()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 217 PublicKey pubKey) in createSubjectKeyId() argument 221 SubjectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(pubKey.getEncoded()); in createSubjectKeyId()
|
/external/bouncycastle/patches/ |
D | bcprov.patch | 398 CipherParameters pubKey) 400 - ECPublicKeyParameters pub = (ECPublicKeyParameters)pubKey; 403 + ECPoint peerPoint = ((ECPublicKeyParameters) pubKey).getQ(); 2246 CipherParameters pubKey; 2261 - pubKey = new MQVPublicParameters(staticKey, ephemKey); 2281 + // pubKey = new MQVPublicParameters(staticKey, ephemKey); 2297 result = agreement.calculateAgreement(pubKey);
|