Home
last modified time | relevance | path

Searched defs:keySpec (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
DKeyFactorySpi.java83 protected abstract PublicKey engineGeneratePublic(KeySpec keySpec) in engineGeneratePublic()
97 protected abstract PrivateKey engineGeneratePrivate(KeySpec keySpec) in engineGeneratePrivate()
124 T engineGetKeySpec(Key key, Class<T> keySpec) in engineGetKeySpec()
DKeyFactory.java352 public final PublicKey generatePublic(KeySpec keySpec) in generatePublic()
390 public final PrivateKey generatePrivate(KeySpec keySpec) in generatePrivate()
439 public final <T extends KeySpec> T getKeySpec(Key key, Class<T> keySpec) in getKeySpec()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactorySpiTest.java56 protected PrivateKey engineGeneratePrivate(KeySpec keySpec){ in engineGeneratePrivate()
59 protected PublicKey engineGeneratePublic(KeySpec keySpec){ in engineGeneratePublic()
62 protected KeySpec engineGetKeySpec(Key key, Class keySpec){ in engineGetKeySpec()
DKeyFactoryTest.java190 TestPublicKeySpec keySpec = new TestPublicKeySpec(key); in testGeneratePublic() local
211 KeySpec keySpec = keySpecs[i]; in testGeneratePublic() local
239 TestPrivateKeySpec keySpec = new TestPrivateKeySpec(key); in testGeneratePrivate() local
260 KeySpec keySpec = keySpecs[i]; in testGeneratePrivate() local
302 Class keySpec = keySpecs[i]; in testGetKeySpec() local
338 Class keySpec = keySpecs[i]; in testGetKeySpec() local
432 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) in engineGeneratePrivate()
442 protected PublicKey engineGeneratePublic(KeySpec keySpec) in engineGeneratePublic()
452 Class<T> keySpec) throws InvalidKeySpecException { in engineGetKeySpec()
DKeyFactory2Test.java351 public PrivateKey engineGeneratePrivate(KeySpec keySpec) { in engineGeneratePrivate()
355 public PublicKey engineGeneratePublic(KeySpec keySpec) { in engineGeneratePublic()
359 public <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) { in engineGetKeySpec()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMySecretKeyFactorySpi.java40 protected SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret()
47 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) in engineGetKeySpec()
/libcore/ojluni/src/main/java/javax/crypto/
DSecretKeyFactorySpi.java67 protected abstract SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret()
91 protected abstract KeySpec engineGetKeySpec(SecretKey key, Class<?> keySpec) in engineGetKeySpec()
DSecretKeyFactory.java515 public final SecretKey generateSecret(KeySpec keySpec) in generateSecret()
559 public final KeySpec getKeySpec(SecretKey key, Class<?> keySpec) in getKeySpec()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSecretKeyFactorySpiTest.java41 protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException { in engineGenerateSecret()
46 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) in engineGetKeySpec()
DCipherTest.java328 DESedeKeySpec keySpec = new DESedeKeySpec(keyMaterial); in test_update$BII() local
386 DESedeKeySpec keySpec = new DESedeKeySpec(keyMaterial); in test_doFinal() local
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherPBEThread.java42 PBEKeySpec keySpec = new PBEKeySpec("top sicret password".toCharArray()); in crypt() local
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java313 X509EncodedKeySpec keySpec = new X509EncodedKeySpec(PK_BYTES); in createPublicKey() local