Home
last modified time | relevance | path

Searched refs:DESKeySpec (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DDESKeySpecTest.java28 import javax.crypto.spec.DESKeySpec;
108 new DESKeySpec((byte []) null); in testDESKeySpec()
117 new DESKeySpec(new byte [] {1, 2, 3}); in testDESKeySpec()
124 new DESKeySpec(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); in testDESKeySpec()
131 new DESKeySpec((byte []) null, 1); in testDESKeySpec()
140 new DESKeySpec(new byte [] {1, 2, 3, 4, 5, 6, 7, 8}, 1); in testDESKeySpec()
147 new DESKeySpec(new byte[] {1, 2, 3, 4, 5, 6, 7, 8, 9}, 1); in testDESKeySpec()
163 DESKeySpec ks; in testGetKey()
165 ks = new DESKeySpec(key); in testGetKey()
179 ks = new DESKeySpec(key1, 2); in testGetKey()
[all …]
/libcore/ojluni/src/main/java/javax/crypto/spec/
DDESedeKeySpec.java119 if (DESKeySpec.isParityAdjusted(key, offset) == false in isParityAdjusted()
120 || DESKeySpec.isParityAdjusted(key, offset + 8) == false in isParityAdjusted()
121 || DESKeySpec.isParityAdjusted(key, offset + 16) == false) { in isParityAdjusted()
DDESKeySpec.java37 public class DESKeySpec implements java.security.spec.KeySpec { class
130 public DESKeySpec(byte[] key) throws InvalidKeyException { in DESKeySpec() method in DESKeySpec
153 public DESKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESKeySpec() method in DESKeySpec
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DSecretKeyFactoryThread.java21 import javax.crypto.spec.DESKeySpec;
34 KeySpec ks = (KeySpec) ((algName == "DES") ? new DESKeySpec(b) : in test()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSecretKeyFactoryTest.java38 import javax.crypto.spec.DESKeySpec;
357 KeySpec ks = (defaultAlgorithm.equals(defaultAlgorithm2) ? (KeySpec)new DESKeySpec(bb) : in testSecretKeyFactory10()
399 c = DESKeySpec.class; in testSecretKeyFactory10()
411 rks instanceof DESKeySpec); in testSecretKeyFactory10()
420 rks instanceof DESKeySpec); in testSecretKeyFactory10()
/libcore/
Dopenjdk_java_files.bp1258 "ojluni/src/main/java/javax/crypto/spec/DESKeySpec.java",
/libcore/api/
Dcurrent.txt17594 public class DESKeySpec implements java.security.spec.KeySpec {
17595 ctor public DESKeySpec(byte[]) throws java.security.InvalidKeyException;
17596 ctor public DESKeySpec(byte[], int) throws java.security.InvalidKeyException;