HomeSort by relevance Sort by last modified time
    Searched refs:algorithmName (Results 1 - 25 of 31) sorted by null

1 2

  /libcore/luni/src/test/java/tests/security/
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);
CertPathBuilderTest.java 25 private final String algorithmName;
28 public CertPathBuilderTest(String algorithmName) {
29 this.algorithmName = algorithmName;
44 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);
  /libcore/support/src/test/java/tests/security/
AlgorithmParameterGeneratorTest.java 25 private final String algorithmName;
28 protected AlgorithmParameterGeneratorTest(String algorithmName, TestHelper<AlgorithmParameters> helper) {
29 this.algorithmName = algorithmName;
36 generator = AlgorithmParameterGenerator.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,
AlgorithmParametersTest.java 26 private final String algorithmName;
30 public AlgorithmParametersTest(String algorithmName,
32 this.algorithmName = algorithmName;
41 .getInstance(algorithmName);
KeyPairGeneratorTest.java 26 private final String algorithmName;
31 protected KeyPairGeneratorTest(String algorithmName, TestHelper<KeyPair> helper) {
32 this.algorithmName = algorithmName;
43 return KeyPairGenerator.getInstance(algorithmName);
AlgorithmParameterKeyAgreementHelper.java 29 private final String algorithmName;
31 public AlgorithmParameterKeyAgreementHelper(String algorithmName) {
32 this.algorithmName = algorithmName;
40 generator = KeyPairGenerator.getInstance(algorithmName);
51 keyAgreement = KeyAgreement.getInstance(algorithmName);
KeyFactoryTest.java 31 private final String algorithmName;
36 public KeyFactoryTest(String algorithmName,
39 this.algorithmName = algorithmName;
51 return KeyFactory.getInstance(algorithmName);
61 privateKeySpec = factory.getKeySpec(DefaultKeys.getPrivateKey(algorithmName),
78 publicKeySpec = factory.getKeySpec(DefaultKeys.getPublicKey(algorithmName),
KeyAgreementHelper.java 29 private final String algorithmName;
31 public KeyAgreementHelper(String algorithmName) {
32 this.algorithmName = algorithmName;
43 keyAgreement = KeyAgreement.getInstance(algorithmName);
SignatureHelper.java 30 private final String algorithmName;
33 public SignatureHelper(String algorithmName) {
34 this.algorithmName = algorithmName;
46 signature = Signature.getInstance(algorithmName);
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);
54 generator = KeyGenerator.getInstance(algorithmName);
66 String transformation = algorithmName;
CipherHelper.java 30 private final String algorithmName;
35 public CipherHelper(String algorithmName, String plainData, int mode1, int mode2) {
36 this.algorithmName = algorithmName;
45 cipher = Cipher.getInstance(algorithmName);
AlgorithmParameterAsymmetricHelper.java 35 private final String algorithmName;
37 public AlgorithmParameterAsymmetricHelper(String algorithmName) {
38 this.algorithmName = algorithmName;
46 generator = KeyPairGenerator.getInstance(algorithmName);
58 cipher = Cipher.getInstance(algorithmName);
AlgorithmParameterSignatureHelper.java 34 private final String algorithmName;
38 public AlgorithmParameterSignatureHelper(String algorithmName, Class<T> parameterSpecCla1ss) {
39 this.algorithmName = algorithmName;
48 signature = Signature.getInstance(algorithmName);
63 generator = KeyPairGenerator.getInstance(algorithmName);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 45 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[] = {
145 for (int k=0; k<algorithmName.length; k++) {
147 MessageDigest md = MessageDigest.getInstance(algorithmName[k]);
158 MDGoldenData.getDigest(algorithmName[k])));
178 for (int k=0; k<algorithmName.length; k++) {
180 MessageDigest md = MessageDigest.getInstance(algorithmName[k]);
196 MDGoldenData.getDigest(algorithmName[k]+"_NU")));
213 for (int k=0; k<algorithmName.length; k++) {
215 MessageDigest md = MessageDigest.getInstance(algorithmName[k]);
288 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...]
DigestOutputStreamTest.java 46 private static final String algorithmName[] = {
145 for (int k=0; k<algorithmName.length; k++) {
147 MessageDigest md = MessageDigest.getInstance(algorithmName[k]);
157 MDGoldenData.getDigest(algorithmName[k])));
177 for (int k=0; k<algorithmName.length; k++) {
179 MessageDigest md = MessageDigest.getInstance(algorithmName[k]);
194 MDGoldenData.getDigest(algorithmName[k]+"_NU")));
211 for (int k=0; k<algorithmName.length; k++) {
213 MessageDigest md = MessageDigest.getInstance(algorithmName[k]);
284 for (int k=0; k<algorithmName.length; k++)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
AlgorithmIdentifier.java 54 private String algorithmName;
87 if (algorithmName == null) {
88 algorithmName = AlgNameMapper.map2AlgName(algorithm);
89 if (algorithmName == null) {
90 algorithmName = algorithm;
93 return algorithmName;
  /libcore/luni/src/test/java/tests/targets/security/
KeyStoreTest.java 40 private final String algorithmName;
44 public KeyStoreTest(String algorithmName, byte[] keyStoreData,
46 this.algorithmName = algorithmName;
54 keyStore = KeyStore.getInstance(algorithmName);
81 keyStore = KeyStore.getInstance(algorithmName);
  /external/bouncycastle/src/main/java/org/bouncycastle/x509/
X509Util.java 172 String algorithmName)
174 algorithmName = Strings.toUpperCase(algorithmName);
176 if (algorithms.containsKey(algorithmName))
178 return (DERObjectIdentifier)algorithms.get(algorithmName);
181 return new DERObjectIdentifier(algorithmName);
186 String algorithmName)
193 algorithmName = Strings.toUpperCase(algorithmName);
195 if (params.containsKey(algorithmName))
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/
PKCS10CertificationRequest.java 351 String algorithmName = Strings.toUpperCase(signatureAlgorithm);
352 DERObjectIdentifier sigOID = (DERObjectIdentifier)algorithms.get(algorithmName);
358 sigOID = new DERObjectIdentifier(algorithmName);
380 else if (params.containsKey(algorithmName))
382 this.sigAlgId = new AlgorithmIdentifier(sigOID, (DEREncodable)params.get(algorithmName));

Completed in 327 milliseconds

1 2