/libcore/ojluni/src/main/java/java/security/ |
D | KeyFactorySpi.java | 83 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()
|
D | KeyFactory.java | 364 public final PublicKey generatePublic(KeySpec keySpec) in generatePublic() 402 public final PrivateKey generatePrivate(KeySpec keySpec) in generatePrivate() 451 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/ |
D | KeyFactorySpiTest.java | 56 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()
|
D | KeyFactoryTest.java | 194 TestPublicKeySpec keySpec = new TestPublicKeySpec(key); in testGeneratePublic() local 215 KeySpec keySpec = keySpecs[i]; in testGeneratePublic() local 243 TestPrivateKeySpec keySpec = new TestPrivateKeySpec(key); in testGeneratePrivate() local 264 KeySpec keySpec = keySpecs[i]; in testGeneratePrivate() local 306 Class keySpec = keySpecs[i]; in testGetKeySpec() local 342 Class keySpec = keySpecs[i]; in testGetKeySpec() local 436 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) in engineGeneratePrivate() 446 protected PublicKey engineGeneratePublic(KeySpec keySpec) in engineGeneratePublic() 456 Class<T> keySpec) throws InvalidKeySpecException { in engineGetKeySpec()
|
D | KeyFactory2Test.java | 358 public PrivateKey engineGeneratePrivate(KeySpec keySpec) { in engineGeneratePrivate() 362 public PublicKey engineGeneratePublic(KeySpec keySpec) { in engineGeneratePublic() 366 public <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) { in engineGetKeySpec()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SecretKeyFactorySpi.java | 67 protected abstract SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret() 91 protected abstract KeySpec engineGetKeySpec(SecretKey key, Class<?> keySpec) in engineGetKeySpec()
|
D | SecretKeyFactory.java | 515 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/support/ |
D | MySecretKeyFactorySpi.java | 40 protected SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret() 47 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) in engineGetKeySpec()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | SecretKeyFactorySpiTest.java | 41 protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException { in engineGenerateSecret() 46 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) in engineGetKeySpec()
|
D | CipherTest.java | 328 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/libcore/java/security/spec/ |
D | XECPublicKeySpecTest.java | 34 XECPublicKeySpec keySpec = new XECPublicKeySpec(NamedParameterSpec.X25519, BigInteger.TEN); in testConstructor() local
|
D | EdECPrivateKeySpecTest.java | 34 EdECPrivateKeySpec keySpec = new EdECPrivateKeySpec(NamedParameterSpec.ED448, bytes); in testConstructor() local
|
D | XECPrivateKeySpecTest.java | 35 XECPrivateKeySpec keySpec = new XECPrivateKeySpec(NamedParameterSpec.X25519, scalar); in testConstructor() local
|
D | EdECPublicKeySpecTest.java | 35 EdECPublicKeySpec keySpec = new EdECPublicKeySpec(NamedParameterSpec.ED448, point); in testConstructor() local
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherPBEThread.java | 42 PBEKeySpec keySpec = new PBEKeySpec("top sicret password".toCharArray()); in crypt() local
|
/libcore/ojluni/src/test/java/security/cert/ |
D | X509CertSelectorTest.java | 499 X509EncodedKeySpec keySpec = new X509EncodedKeySpec( in testSubjectPublicKey() local
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | SignatureTest.java | 313 X509EncodedKeySpec keySpec = new X509EncodedKeySpec(PK_BYTES); in createPublicKey() local
|