Home
last modified time | relevance | path

Searched refs:getKeySpec (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DEncryptedPrivateKeyInfo.java246 public PKCS8EncodedKeySpec getKeySpec(Cipher cipher) in getKeySpec() method in EncryptedPrivateKeyInfo
301 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey) in getKeySpec() method in EncryptedPrivateKeyInfo
328 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, in getKeySpec() method in EncryptedPrivateKeyInfo
362 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, in getKeySpec() method in EncryptedPrivateKeyInfo
DSecretKeyFactory.java559 public final KeySpec getKeySpec(SecretKey key, Class<?> keySpec) in getKeySpec() method in SecretKeyFactory
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSecretKeyFactoryTest.java133 assertNull("Incorrect result", secKF.getKeySpec(null, null)); in testSecretKeyFactory01()
376 skF[i].getKeySpec(null, null); in testSecretKeyFactory10()
381 skF[i].getKeySpec(null, ks.getClass()); in testSecretKeyFactory10()
386 skF[i].getKeySpec(secKey, null); in testSecretKeyFactory10()
401 skF[i].getKeySpec(secKeySpec, c); in testSecretKeyFactory10()
405 rks = skF[i].getKeySpec(secKeySpec, ks.getClass()); in testSecretKeyFactory10()
414 rks = skF[i].getKeySpec(secKey, ks.getClass()); in testSecretKeyFactory10()
DEncryptedPrivateKeyInfoTest.java1095 epki.getKeySpec((Cipher) null); in testGetKeySpecCipher01()
1133 PKCS8EncodedKeySpec eks = epki.getKeySpec(g.c()); in test_ROUNDTRIP_GetKeySpecCipher01()
1171 epki.getKeySpec(g.c()); in test_ROUNDTRIP_GetKeySpecCipher02()
1198 epki.getKeySpec((Key) null); in testGetKeySpecKey01()
1234 .getKeySpec(g.pubK() == null ? g.k() : g.pubK()); in test_ROUNDTRIP_GetKeySpecKey01()
1271 epki.getKeySpec(g.pubK() == null ? g.k() : g.pubK()); in test_ROUNDTRIP_GetKeySpecKey02()
1294 epki.getKeySpec((Key) null, "SomeProviderName"); in testGetKeySpecKeyString01()
1301 epki.getKeySpec(new Key() { in testGetKeySpecKeyString01()
1322 epki.getKeySpec(new Key() { in testGetKeySpecKeyString01()
1378 PKCS8EncodedKeySpec eks = epki.getKeySpec( in test_ROUNDTRIP_GetKeySpecKeyString01()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactory2Test.java122 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate(), in test_generatePrivateLjava_security_spec_KeySpec()
151 KeySpec publicKeySpec = fact.getKeySpec(keys.getPublic(), in test_generatePublicLjava_security_spec_KeySpec()
243 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate(), in test_getKeySpecLjava_security_KeyLjava_lang_Class()
245 KeySpec publicKeySpec = fact.getKeySpec(keys.getPublic(), in test_getKeySpecLjava_security_KeyLjava_lang_Class()
261 KeySpec encodedSpec = fact.getKeySpec(keys.getPublic(), in test_getKeySpecLjava_security_KeyLjava_lang_Class()
265 encodedSpec = fact.getKeySpec(keys.getPrivate(), in test_getKeySpecLjava_security_KeyLjava_lang_Class()
DKeyFactoryTest.java309 KeySpec spec = factory.getKeySpec(key, keySpec); in testGetKeySpec()
349 factory.getKeySpec(key, keySpec); in testGetKeySpec()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java57 keyFactory.getKeySpec(originalPrivateKey, RSAPrivateKeySpec.class); in getPrivateKey()
70 keyFactory.getKeySpec(originalPrivateKey, DSAPrivateKeySpec.class); in getPrivateKey()
/libcore/ojluni/src/test/java/security/KeyAgreement/
DKeySpecTest.java138 KeySpec pubSpec = kf.getKeySpec(kp.getPublic(), pubSpecType); in testKeySpecs()
141 KeySpec priSpec = kf.getKeySpec(kp.getPrivate(), priSpecType); in testKeySpecs()
/libcore/ojluni/src/main/java/java/security/
DKeyFactory.java451 public final <T extends KeySpec> T getKeySpec(Key key, Class<T> keySpec) in getKeySpec() method in KeyFactory
/libcore/api/
Dcurrent.txt8116 …method public final <T extends java.security.spec.KeySpec> T getKeySpec(java.security.Key, Class<T…
19013 …method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(javax.crypto.Cipher) throws java.s…
19014 …method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key) throws java.sec…
19015 …method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key, String) throws …
19016 …method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key, java.security.P…
19169 …method public final java.security.spec.KeySpec getKeySpec(javax.crypto.SecretKey, Class<?>) throws…