/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | KeyAgreementTest.java | 71 private static PrivateKey privKey = null; field in KeyAgreementTest 87 privKey = tkp.getPrivate(); in createKeys() 321 kAgs[i].init(privKey); in testGenerateSecret03() 324 kAgs[i].init(privKey); in testGenerateSecret03() 328 kAgs[i].init(privKey); in testGenerateSecret03() 347 kAgs[i].init(privKey); in testDoPhase() 349 kAgs[i].doPhase(privKey, false); in testDoPhase() 355 kAgs[i].doPhase(privKey, true); in testDoPhase() 435 kAgs[i].init(privKey, dsa); in testInit02() 441 kAgs[i].init(privKey, dsa, new SecureRandom()); in testInit02() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyAgreementSpi.java | 189 DHPrivateKey privKey = (DHPrivateKey)key; in engineInit() local 204 this.p = privKey.getParams().getP(); in engineInit() 205 this.g = privKey.getParams().getG(); in engineInit() 208 this.x = this.result = privKey.getX(); in engineInit() 221 DHPrivateKey privKey = (DHPrivateKey)key; in engineInit() local 223 this.p = privKey.getParams().getP(); in engineInit() 224 this.g = privKey.getParams().getG(); in engineInit() 225 this.x = this.result = privKey.getX(); in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | PrivateKeyInfo.java | 25 private ASN1OctetString privKey; field in PrivateKeyInfo 65 … this.privKey = new DEROctetString(privateKey.toASN1Primitive().getEncoded(ASN1Encoding.DER)); in PrivateKeyInfo() 86 privKey = ASN1OctetString.getInstance(e.nextElement()); in PrivateKeyInfo() 109 return ASN1Primitive.fromByteArray(privKey.getOctets()); in parsePrivateKey() 155 v.add(privKey); in toASN1Primitive()
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLECPrivateKey.java | 58 final BigInteger privKey = ecKeySpec.getS(); in OpenSSLECPrivateKey() local 60 privKey.toByteArray())); in OpenSSLECPrivateKey() 142 final BigInteger privKey = ecPrivateKey.getS(); in getInstance() local 144 privKey.toByteArray())); in getInstance()
|
D | OpenSSLRSAKeyPairGenerator.java | 47 PrivateKey privKey = OpenSSLRSAPrivateKey.getInstance(key); in generateKeyPair() local 50 return new KeyPair(pubKey, privKey); in generateKeyPair()
|
D | OpenSSLRSAKeyFactory.java | 118 RSAPrivateKey privKey = in engineGetKeySpec() local 120 if (privKey instanceof RSAPrivateCrtKey) { in engineGetKeySpec() 121 RSAPrivateCrtKey rsaKey = (RSAPrivateCrtKey) privKey; in engineGetKeySpec()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | KeyUtil.java | 47 public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey) in getEncodedPrivateKeyInfo() argument 51 PrivateKeyInfo info = new PrivateKeyInfo(algId, privKey.toASN1Primitive()); in getEncodedPrivateKeyInfo()
|
D | BaseCipherSpi.java | 182 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); in engineUnwrap() local 184 if (privKey != null) in engineUnwrap() 186 return privKey; in engineUnwrap()
|
D | ECUtil.java | 189 … java.security.interfaces.ECPrivateKey privKey = (java.security.interfaces.ECPrivateKey)key; in generatePrivateKeyParameter() local 190 ECParameterSpec s = EC5Util.convertSpec(privKey.getParams(), false); in generatePrivateKeyParameter() 192 privKey.getS(), in generatePrivateKeyParameter()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 874 …PrivateKey privKey = unwrapKey(eIn.getEncryptionAlgorithm(), eIn.getEncryptedData(), password, wro… in engineLoad() local 879 PKCS12BagAttributeCarrier bagAttr = (PKCS12BagAttributeCarrier)privKey; in engineLoad() 916 keys.put(alias, privKey); in engineLoad() 931 keys.put(name, privKey); in engineLoad() 941 keys.put("unmarked", privKey); in engineLoad() 973 …PrivateKey privKey = unwrapKey(eIn.getEncryptionAlgorithm(), eIn.getEncryptedData(), password, wro… in engineLoad() local 978 PKCS12BagAttributeCarrier bagAttr = (PKCS12BagAttributeCarrier)privKey; in engineLoad() 1013 keys.put(alias, privKey); in engineLoad() 1025 keys.put(name, privKey); in engineLoad() 1035 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(kInfo); in engineLoad() local [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | KeyAgreementSpi.java | 321 …ECPrivateKeyParameters privKey = (ECPrivateKeyParameters)ECUtil.generatePrivateKeyParameter((Priva… in initFromKey() local 322 this.parameters = privKey.getParameters(); in initFromKey() 324 agreement.init(privKey); in initFromKey()
|
D | BCECPrivateKey.java | 246 ASN1Encodable privKey = info.parsePrivateKey(); in populateFromPrivKeyInfo() local 247 if (privKey instanceof ASN1Integer) in populateFromPrivKeyInfo() 249 ASN1Integer derD = ASN1Integer.getInstance(privKey); in populateFromPrivKeyInfo() 255 …ouncycastle.asn1.sec.ECPrivateKey ec = org.bouncycastle.asn1.sec.ECPrivateKey.getInstance(privKey); in populateFromPrivKeyInfo()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore_Impl1Test.java | 464 PrivateKey privKey = tkp.getPrivate(); in testEntry02() local 465 KeyStore.PrivateKeyEntry pKey = new KeyStore.PrivateKeyEntry(privKey, in testEntry02() 508 key1 = privKey; in testEntry02() 901 PrivateKey privKey = tkp.getPrivate(); in testEntry07() local 902 KeyStore.PrivateKeyEntry pKey = new KeyStore.PrivateKeyEntry(privKey, certs); in testEntry07() 916 kss[i].setKeyEntry(aliasKE, privKey, pwd, certs); in testEntry07() 929 Class c = privKey.getClass(); in testEntry07() 935 Class c = privKey.getClass(); in testEntry07()
|
D | KSBuilder_ImplTest.java | 144 PrivateKey privKey = tkp.getPrivate(); in testNewInstanceKeyStoreProtectionParameter() local 146 KeyStore.PrivateKeyEntry pKey = new KeyStore.PrivateKeyEntry(privKey, in testNewInstanceKeyStoreProtectionParameter()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JCEECPrivateKey.java | 255 ASN1Encodable privKey = info.parsePrivateKey(); in populateFromPrivKeyInfo() local 256 if (privKey instanceof ASN1Integer) in populateFromPrivKeyInfo() 258 ASN1Integer derD = ASN1Integer.getInstance(privKey); in populateFromPrivKeyInfo() 264 ECPrivateKeyStructure ec = new ECPrivateKeyStructure((ASN1Sequence)privKey); in populateFromPrivKeyInfo()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseWrapCipher.java | 369 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); in engineUnwrap() local 371 if (privKey != null) in engineUnwrap() 373 return privKey; in engineUnwrap()
|
/external/boringssl/src/ssl/test/runner/ |
D | key_agreement.go | 68 privKey, ok := cert.PrivateKey.(*rsa.PrivateKey) 72 sig, err := rsa.SignPKCS1v15(config.rand(), privKey, hashFunc, digest) 300 privKey, ok := cert.PrivateKey.(*ecdsa.PrivateKey) 304 r, s, err := ecdsa.Sign(config.rand(), privKey, digest) 308 order := privKey.Curve.Params().N 313 privKey, ok := cert.PrivateKey.(*rsa.PrivateKey) 317 sig, err = rsa.SignPKCS1v15(config.rand(), privKey, hashFunc, digest)
|
/external/google-tv-pairing-protocol/java/jar/ |
D | bcprov-jdk15-143.jar | META-INF/MANIFEST.MF
META-INF/BCKEY.SF
META-INF/BCKEY ... |