Home
last modified time | relevance | path

Searched defs:keySpec (Results 1 – 17 of 17) 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.java364 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/
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.java194 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()
DKeyFactory2Test.java358 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/
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/support/
DMySecretKeyFactorySpi.java40 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/
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/libcore/java/security/spec/
DXECPublicKeySpecTest.java34 XECPublicKeySpec keySpec = new XECPublicKeySpec(NamedParameterSpec.X25519, BigInteger.TEN); in testConstructor() local
DEdECPrivateKeySpecTest.java34 EdECPrivateKeySpec keySpec = new EdECPrivateKeySpec(NamedParameterSpec.ED448, bytes); in testConstructor() local
DXECPrivateKeySpecTest.java35 XECPrivateKeySpec keySpec = new XECPrivateKeySpec(NamedParameterSpec.X25519, scalar); in testConstructor() local
DEdECPublicKeySpecTest.java35 EdECPublicKeySpec keySpec = new EdECPublicKeySpec(NamedParameterSpec.ED448, point); in testConstructor() 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/ojluni/src/test/java/security/cert/
DX509CertSelectorTest.java499 X509EncodedKeySpec keySpec = new X509EncodedKeySpec( in testSubjectPublicKey() local
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java313 X509EncodedKeySpec keySpec = new X509EncodedKeySpec(PK_BYTES); in createPublicKey() local