Home
last modified time | relevance | path

Searched defs:privKey (Results 1 – 25 of 33) sorted by relevance

12

/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/
DSignatureTest.java1879 PrivateKey privKey = kf.generatePrivate(privKeySpec); in testVerify_SHA1withRSA_Key_InitSignThenInitVerify_Success() local
1933 final PrivateKey privKey; in testSign_SHA1withRSA_CrtKeyWithPublicExponent_Success() local
1969 final PrivateKey privKey; in testSign_SHA1withRSA_CrtKey_NoPrivateExponent_Failure() local
1994 final PrivateKey privKey; in testSign_SHA1withRSA_CrtKey_NoModulus_Failure() local
2018 final PrivateKey privKey; in testSign_SHA1withRSA_Key_EmptyKey_Failure() local
2041 PrivateKey privKey = kf.generatePrivate(keySpec); in testSign_SHA1withRSA_Key_Success() local
2066 final PrivateKey privKey = kf.generatePrivate(keySpec); in testSign_SHA224withRSA_Key_Success() local
2091 final PrivateKey privKey = kf.generatePrivate(keySpec); in testSign_SHA256withRSA_Key_Success() local
2115 PrivateKey privKey = kf.generatePrivate(keySpec); in testSign_SHA384withRSA_Key_Success() local
2139 PrivateKey privKey = kf.generatePrivate(keySpec); in testSign_SHA512withRSA_Key_Success() local
[all …]
DKeyPairGeneratorTest.java457 PrivateKey privKey = kf.generatePrivate(spec); in test_KeyWithAllKeyFactories() local
458 assertNotNull(k.getAlgorithm() + ", provider=" + p.getName(), privKey); in test_KeyWithAllKeyFactories() local
567 DSAPrivateKey privKey = (DSAPrivateKey) pair.getPrivate(); in testDSAGeneratorWithParams() local
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/
DSignatureTest.java1875 PrivateKey privKey = kf.generatePrivate(privKeySpec); in testVerify_SHA1withRSA_Key_InitSignThenInitVerify_Success() local
1929 final PrivateKey privKey; in testSign_SHA1withRSA_CrtKeyWithPublicExponent_Success() local
1965 final PrivateKey privKey; in testSign_SHA1withRSA_CrtKey_NoPrivateExponent_Failure() local
1990 final PrivateKey privKey; in testSign_SHA1withRSA_CrtKey_NoModulus_Failure() local
2014 final PrivateKey privKey; in testSign_SHA1withRSA_Key_EmptyKey_Failure() local
2037 PrivateKey privKey = kf.generatePrivate(keySpec); in testSign_SHA1withRSA_Key_Success() local
2062 final PrivateKey privKey = kf.generatePrivate(keySpec); in testSign_SHA224withRSA_Key_Success() local
2087 final PrivateKey privKey = kf.generatePrivate(keySpec); in testSign_SHA256withRSA_Key_Success() local
2111 PrivateKey privKey = kf.generatePrivate(keySpec); in testSign_SHA384withRSA_Key_Success() local
2135 PrivateKey privKey = kf.generatePrivate(keySpec); in testSign_SHA512withRSA_Key_Success() local
[all …]
DKeyPairGeneratorTest.java454 PrivateKey privKey = kf.generatePrivate(spec); in test_KeyWithAllKeyFactories() local
455 assertNotNull(k.getAlgorithm() + ", provider=" + p.getName(), privKey); in test_KeyWithAllKeyFactories() local
564 DSAPrivateKey privKey = (DSAPrivateKey) pair.getPrivate(); in testDSAGeneratorWithParams() local
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyAgreementSpi.java279 DHPrivateKey privKey = (DHPrivateKey)key; in engineInit() local
380 DHPrivateKey privKey = (DHPrivateKey)key; in engineInit() local
393 private DHPrivateKeyParameters generatePrivateKeyParameter(PrivateKey privKey) in generatePrivateKeyParameter()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyAgreementSpi.java281 DHPrivateKey privKey = (DHPrivateKey)key; in engineInit() local
382 DHPrivateKey privKey = (DHPrivateKey)key; in engineInit() local
395 private DHPrivateKeyParameters generatePrivateKeyParameter(PrivateKey privKey) in generatePrivateKeyParameter()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLECPrivateKey.java61 final BigInteger privKey = ecKeySpec.getS(); in OpenSSLECPrivateKey() local
145 final BigInteger privKey = ecPrivateKey.getS(); in getInstance() local
DOpenSSLRSAKeyPairGenerator.java52 PrivateKey privKey = OpenSSLRSAPrivateKey.getInstance(key); in generateKeyPair() local
DOpenSSLRSAKeyFactory.java133 RSAPrivateKey privKey = in engineGetKeySpec() local
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLECPrivateKey.java62 final BigInteger privKey = ecKeySpec.getS(); in OpenSSLECPrivateKey() local
146 final BigInteger privKey = ecPrivateKey.getS(); in getInstance() local
DOpenSSLRSAKeyPairGenerator.java58 PrivateKey privKey = OpenSSLRSAPrivateKey.getInstance(key); in generateKeyPair() local
DOpenSSLRSAKeyFactory.java138 RSAPrivateKey privKey = in engineGetKeySpec() local
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DKeyUtil.java47 public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey) in getEncodedPrivateKeyInfo()
DBaseCipherSpi.java188 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); in engineUnwrap() local
DECUtil.java251 … java.security.interfaces.ECPrivateKey privKey = (java.security.interfaces.ECPrivateKey)key; in generatePrivateKeyParameter() local
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
DKeyUtil.java51 public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey) in getEncodedPrivateKeyInfo()
DBaseCipherSpi.java192 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); in engineUnwrap() local
DECUtil.java253 … java.security.interfaces.ECPrivateKey privKey = (java.security.interfaces.ECPrivateKey)key; in generatePrivateKeyParameter() local
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyAgreementSpi.java333 …ECPrivateKeyParameters privKey = (ECPrivateKeyParameters)ECUtil.generatePrivateKeyParameter((Priva… in initFromKey() local
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyAgreementSpi.java335 …ECPrivateKeyParameters privKey = (ECPrivateKeyParameters)ECUtil.generatePrivateKeyParameter((Priva… in initFromKey() local
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java887 …PrivateKey privKey = unwrapKey(eIn.getEncryptionAlgorithm(), eIn.getEncryptedData(), password, wro… in engineLoad() local
989 …PrivateKey privKey = unwrapKey(eIn.getEncryptionAlgorithm(), eIn.getEncryptedData(), password, wro… in engineLoad() local
1051 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(kInfo); in engineLoad() local
1330 PrivateKey privKey = (PrivateKey)keys.get(name); in doStore() local
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java891 …PrivateKey privKey = unwrapKey(eIn.getEncryptionAlgorithm(), eIn.getEncryptedData(), password, wro… in engineLoad() local
993 …PrivateKey privKey = unwrapKey(eIn.getEncryptionAlgorithm(), eIn.getEncryptedData(), password, wro… in engineLoad() local
1055 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(kInfo); in engineLoad() local
1334 PrivateKey privKey = (PrivateKey)keys.get(name); in doStore() local
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java2551 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_OnlyDoFinal_Success() local
2579 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_UpdateThenEmptyDoFinal_Success() local
2611 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_SingleByteUpdateThenEmptyDoFinal_Success() local
2646 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_OnlyDoFinalWithOffset_Success() local
2834 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_TooSmall_Success() local
2881 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_CombinedUpdateAndDoFinal_TooBig_Failure() local
2913 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_UpdateInAndOutPlusDoFinal_TooBig_Failure() local
2946 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_OnlyDoFinal_TooBig_Failure() local
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java2553 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_OnlyDoFinal_Success() local
2581 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_UpdateThenEmptyDoFinal_Success() local
2613 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_SingleByteUpdateThenEmptyDoFinal_Success() local
2648 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_OnlyDoFinalWithOffset_Success() local
2836 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_TooSmall_Success() local
2883 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_CombinedUpdateAndDoFinal_TooBig_Failure() local
2915 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_UpdateInAndOutPlusDoFinal_TooBig_Failure() local
2948 final PrivateKey privKey = (PrivateKey) getDecryptKey("RSA"); in testRSA_ECB_NoPadding_Private_OnlyDoFinal_TooBig_Failure() local
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseWrapCipher.java534 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); in engineUnwrap() local

12