/libcore/support/src/test/java/tests/security/ |
AlgorithmParameterSymmetricHelper.java | 35 private final String algorithmName; 39 public AlgorithmParameterSymmetricHelper(String algorithmName, int keySize) { 40 this.algorithmName = algorithmName; 44 public AlgorithmParameterSymmetricHelper(String algorithmName, String blockmode, int keySize) { 45 this(algorithmName, keySize); 51 KeyGenerator generator = KeyGenerator.getInstance(algorithmName); 55 String transformation = algorithmName;
|
AlgorithmParameterKeyAgreementHelper.java | 29 private final String algorithmName; 31 public AlgorithmParameterKeyAgreementHelper(String algorithmName) { 32 this.algorithmName = algorithmName; 37 KeyPairGenerator generator = KeyPairGenerator.getInstance(algorithmName); 41 KeyAgreement keyAgreement = KeyAgreement.getInstance(algorithmName);
|
KeyFactoryTest.java | 31 private final String algorithmName; 36 public KeyFactoryTest(String algorithmName, 39 this.algorithmName = algorithmName; 50 return KeyFactory.getInstance(algorithmName); 54 PrivateKeySpec privateKeySpec = factory.getKeySpec(DefaultKeys.getPrivateKey(algorithmName), 57 PublicKeySpec publicKeySpec = factory.getKeySpec(DefaultKeys.getPublicKey(algorithmName),
|
AlgorithmParameterGeneratorTest.java | 25 private final String algorithmName; 28 protected AlgorithmParameterGeneratorTest(String algorithmName, TestHelper<AlgorithmParameters> helper) { 29 this.algorithmName = algorithmName; 34 AlgorithmParameterGenerator generator = AlgorithmParameterGenerator.getInstance(algorithmName);
|
AlgorithmParametersTest.java | 26 private final String algorithmName; 30 public AlgorithmParametersTest(String algorithmName, 32 this.algorithmName = algorithmName; 38 AlgorithmParameters algorithmParameters = AlgorithmParameters.getInstance(algorithmName);
|
KeyAgreementHelper.java | 29 private final String algorithmName; 31 public KeyAgreementHelper(String algorithmName) { 32 this.algorithmName = algorithmName; 40 KeyAgreement keyAgreement = KeyAgreement.getInstance(algorithmName);
|
KeyPairGeneratorTest.java | 26 private final String algorithmName; 31 protected KeyPairGeneratorTest(String algorithmName, TestHelper<KeyPair> helper) { 32 this.algorithmName = algorithmName; 38 generator = KeyPairGenerator.getInstance(algorithmName);
|
SignatureHelper.java | 30 private final String algorithmName; 33 public SignatureHelper(String algorithmName) { 34 this.algorithmName = algorithmName; 43 Signature signature = Signature.getInstance(algorithmName);
|
AlgorithmParameterAsymmetricHelper.java | 35 private final String algorithmName; 37 public AlgorithmParameterAsymmetricHelper(String algorithmName) { 38 this.algorithmName = algorithmName; 43 KeyPairGenerator generator = KeyPairGenerator.getInstance(algorithmName); 47 Cipher cipher = Cipher.getInstance(algorithmName);
|
AlgorithmParameterSignatureHelper.java | 34 private final String algorithmName; 38 public AlgorithmParameterSignatureHelper(String algorithmName, Class<T> parameterSpecCla1ss) { 39 this.algorithmName = algorithmName; 45 Signature signature = Signature.getInstance(algorithmName); 47 KeyPairGenerator generator = KeyPairGenerator.getInstance(algorithmName);
|
CipherHelper.java | 30 private final String algorithmName; 35 public CipherHelper(String algorithmName, String plainData, int mode1, int mode2) { 36 this.algorithmName = algorithmName; 43 Cipher cipher = Cipher.getInstance(algorithmName);
|
CipherAsymmetricCryptHelper.java | 26 public CipherAsymmetricCryptHelper(String algorithmName) { 27 super(algorithmName, plainData, Cipher.ENCRYPT_MODE,
|
CipherSymmetricCryptHelper.java | 26 public CipherSymmetricCryptHelper(String algorithmName) { 27 super(algorithmName, plainData, Cipher.ENCRYPT_MODE,
|
/libcore/luni/src/test/java/tests/security/ |
CertPathBuilderTest.java | 25 private final String algorithmName; 28 public CertPathBuilderTest(String algorithmName) { 29 this.algorithmName = algorithmName; 44 algorithmName);
|
CertPathValidatorTest.java | 26 private final String algorithmName; 29 public CertPathValidatorTest(String algorithmName) { 30 this.algorithmName = algorithmName; 39 algorithmName);
|
CertificateFactoryTest.java | 26 private final String algorithmName; 30 public CertificateFactoryTest(String algorithmName, byte[] certificateData) { 31 this.algorithmName = algorithmName; 41 algorithmName);
|
SecureRandomTest.java | 29 private final String algorithmName; 34 this.algorithmName = name; 44 secureRandom1 = SecureRandom.getInstance(algorithmName); 51 secureRandom2 = SecureRandom.getInstance(algorithmName); 77 final SecureRandom secureRandom = SecureRandom.getInstance(algorithmName);
|
/external/guava/guava/src/com/google/common/hash/ |
MessageDigestHashFunction.java | 39 MessageDigestHashFunction(String algorithmName, String toString) { 40 this.prototype = getMessageDigest(algorithmName); 46 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { 48 this.prototype = getMessageDigest(algorithmName); 73 private static MessageDigest getMessageDigest(String algorithmName) { 75 return MessageDigest.getInstance(algorithmName); 93 private final String algorithmName; 97 private SerializedForm(String algorithmName, int bytes, String toString) { 98 this.algorithmName = algorithmName; [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 44 private static final String algorithmName[] = { 88 for (int i = 0; i < algorithmName.length; i++) { 90 MessageDigest md = MessageDigest.getInstance(algorithmName[i]); 121 for (int ii = 0; ii < algorithmName.length; ii++) { 123 MessageDigest md = MessageDigest.getInstance(algorithmName[ii]); 134 MDGoldenData.getDigest(algorithmName[ii]))); 154 for (int ii = 0; ii < algorithmName.length; ii++) { 156 MessageDigest md = MessageDigest.getInstance(algorithmName[ii]); 169 MDGoldenData.getDigest(algorithmName[ii]))); 189 for (int ii = 0; ii < algorithmName.length; ii++) [all...] |
DigestOutputStreamTest.java | 44 private static final String algorithmName[] = { 146 for (int k = 0; k < algorithmName.length; k++) { 148 MessageDigest md = MessageDigest.getInstance(algorithmName[k]); 159 MDGoldenData.getDigest(algorithmName[k]))); 179 for (int k = 0; k < algorithmName.length; k++) { 181 MessageDigest md = MessageDigest.getInstance(algorithmName[k]); 197 MDGoldenData.getDigest(algorithmName[k] + "_NU"))); 214 for (int k = 0; k < algorithmName.length; k++) { 216 MessageDigest md = MessageDigest.getInstance(algorithmName[k]); 289 for (int k = 0; k < algorithmName.length; k++) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 46 private static final String algorithmName[] = { 81 for (int i=0; i<algorithmName.length; i++) { 83 MessageDigest md = MessageDigest.getInstance(algorithmName[i]); 114 for (int ii=0; ii<algorithmName.length; ii++) { 116 MessageDigest md = MessageDigest.getInstance(algorithmName[ii]); 127 MDGoldenData.getDigest(algorithmName[ii]))); 147 for (int ii=0; ii<algorithmName.length; ii++) { 149 MessageDigest md = MessageDigest.getInstance(algorithmName[ii]); 162 MDGoldenData.getDigest(algorithmName[ii]))); 182 for (int ii=0; ii<algorithmName.length; ii++) [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
MessageDigestHashFunctionTest.java | 96 private static void assertMessageDigestHashing(byte[] input, String algorithmName) { 98 MessageDigest digest = MessageDigest.getInstance(algorithmName); 101 ALGORITHMS.get(algorithmName).hashBytes(input)); 105 new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input)); 109 new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName);
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
MessageDigestAlgorithmBenchmark.java | 69 private final String algorithmName; 71 Algorithm(String algorithmName, HashFunction hashFn) { 72 this.algorithmName = algorithmName; 77 return MessageDigest.getInstance(algorithmName);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UCharacterNameReader.java | 87 UCharacterName.AlgorithmName alg[] = 88 new UCharacterName.AlgorithmName[count]; 92 UCharacterName.AlgorithmName an = readAlg(); 156 private UCharacterName.AlgorithmName readAlg() throws IOException 158 UCharacterName.AlgorithmName result = 159 new UCharacterName.AlgorithmName(); 169 if (type == UCharacterName.AlgorithmName.TYPE_1_)
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UCharacterNameReader.java | 87 UCharacterName.AlgorithmName alg[] = 88 new UCharacterName.AlgorithmName[count]; 92 UCharacterName.AlgorithmName an = readAlg(); 156 private UCharacterName.AlgorithmName readAlg() throws IOException 158 UCharacterName.AlgorithmName result = 159 new UCharacterName.AlgorithmName(); 169 if (type == UCharacterName.AlgorithmName.TYPE_1_)
|