/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | SecretKeySpecTest.java | 45 String algorithm = "Algorithm"; in testSecretKeySpec1() local 85 String algorithm = "Algorithm"; in testSecretKeySpec2() local 143 String algorithm = "Algorithm"; in testSecretKeySpec3() local 161 String algorithm = "Algorithm"; in testGetAlgorithm() local 174 String algorithm = "Algorithm"; in testGetFormat() local 188 String algorithm = "Algorithm"; in testGetEncoded() local 214 String algorithm = "Algorithm"; in testHashCode() local 229 String algorithm = "Algorithm"; in testEquals() local
|
/libcore/luni/src/main/java/javax/net/ssl/ |
D | TrustManagerFactory.java | 54 String algorithm = Security.getProperty(PROPERTY_NAME); in getDefaultAlgorithm() local 71 public static final TrustManagerFactory getInstance(String algorithm) in getInstance() 99 public static final TrustManagerFactory getInstance(String algorithm, String provider) in getInstance() 127 public static final TrustManagerFactory getInstance(String algorithm, Provider provider) in getInstance() 146 private final String algorithm; field in TrustManagerFactory 159 String algorithm) { in TrustManagerFactory()
|
D | KeyManagerFactory.java | 55 String algorithm = Security.getProperty(PROPERTY_NAME); in getDefaultAlgorithm() local 72 public static final KeyManagerFactory getInstance(String algorithm) in getInstance() 100 public static final KeyManagerFactory getInstance(String algorithm, String provider) in getInstance() 128 public static final KeyManagerFactory getInstance(String algorithm, Provider provider) in getInstance() 147 private final String algorithm; field in KeyManagerFactory 160 String algorithm) { in KeyManagerFactory()
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | AlgorithmIdentifier.java | 52 private String algorithm; field in AlgorithmIdentifier 60 public AlgorithmIdentifier(String algorithm) { in AlgorithmIdentifier() 64 public AlgorithmIdentifier(String algorithm, byte[] parameters) { in AlgorithmIdentifier() 68 private AlgorithmIdentifier(String algorithm, byte[] parameters, byte[] encoding) { in AlgorithmIdentifier() 77 public AlgorithmIdentifier(String algorithm, String algorithmName) { in AlgorithmIdentifier()
|
/libcore/luni/src/main/java/java/security/cert/ |
D | CertPathBuilder.java | 52 private final String algorithm; field in CertPathBuilder 65 String algorithm) { in CertPathBuilder() 101 public static CertPathBuilder getInstance(String algorithm) in getInstance() 127 public static CertPathBuilder getInstance(String algorithm, String provider) in getInstance() 155 public static CertPathBuilder getInstance(String algorithm, in getInstance()
|
D | CertPathValidator.java | 53 private final String algorithm; field in CertPathValidator 66 Provider provider, String algorithm) { in CertPathValidator() 101 public static CertPathValidator getInstance(String algorithm) in getInstance() 128 public static CertPathValidator getInstance(String algorithm, in getInstance() 158 public static CertPathValidator getInstance(String algorithm, in getInstance()
|
/libcore/luni/src/main/java/javax/crypto/ |
D | SecretKeyFactory.java | 54 private final String algorithm; field in SecretKeyFactory 67 Provider provider, String algorithm) { in SecretKeyFactory() 103 public static final SecretKeyFactory getInstance(String algorithm) in getInstance() 131 public static final SecretKeyFactory getInstance(String algorithm, in getInstance() 163 public static final SecretKeyFactory getInstance(String algorithm, in getInstance()
|
D | KeyAgreement.java | 59 private final String algorithm; field in KeyAgreement 77 String algorithm) { in KeyAgreement() 113 public static final KeyAgreement getInstance(String algorithm) throws NoSuchAlgorithmException { in getInstance() 136 public static final KeyAgreement getInstance(String algorithm, String provider) in getInstance() 167 public static final KeyAgreement getInstance(String algorithm, Provider provider) in getInstance() 175 private static KeyAgreement getKeyAgreement(String algorithm, Provider provider) in getKeyAgreement() 192 … private static Engine.SpiAndProvider tryAlgorithm(Key key, Provider provider, String algorithm) { in tryAlgorithm() 399 public final SecretKey generateSecret(String algorithm) in generateSecret()
|
D | KeyGenerator.java | 49 private final String algorithm; field in KeyGenerator 62 String algorithm) { in KeyGenerator() 98 public static final KeyGenerator getInstance(String algorithm) in getInstance() 126 public static final KeyGenerator getInstance(String algorithm, in getInstance() 156 public static final KeyGenerator getInstance(String algorithm, in getInstance()
|
D | Mac.java | 56 private final String algorithm; field in Mac 76 protected Mac(MacSpi macSpi, Provider provider, String algorithm) { in Mac() 115 public static final Mac getInstance(String algorithm) in getInstance() 140 public static final Mac getInstance(String algorithm, String provider) in getInstance() 171 public static final Mac getInstance(String algorithm, Provider provider) in getInstance() 179 private static Mac getMac(String algorithm, Provider provider) in getMac() 196 … private static Engine.SpiAndProvider tryAlgorithm(Key key, Provider provider, String algorithm) { in tryAlgorithm()
|
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
D | Engine.java | 94 private final String algorithm; field in Engine.ServiceCacheEntry 100 private ServiceCacheEntry(String algorithm, in ServiceCacheEntry() 132 public SpiAndProvider getInstance(String algorithm, Object param) in getInstance() 157 public ArrayList<Provider.Service> getServices(String algorithm) { in getServices() 176 public Object getInstance(String algorithm, Provider provider, Object param) in getInstance() 188 private NoSuchAlgorithmException notFound(String serviceName, String algorithm) in notFound()
|
/libcore/luni/src/main/java/org/apache/harmony/security/ |
D | PublicKeyImpl.java | 37 private String algorithm; field in PublicKeyImpl 40 public PublicKeyImpl(String algorithm) { in PublicKeyImpl() 62 public void setAlgorithm(String algorithm) { in setAlgorithm()
|
D | PrivateKeyImpl.java | 33 private String algorithm; field in PrivateKeyImpl 37 public PrivateKeyImpl(String algorithm) { in PrivateKeyImpl() 57 public void setAlgorithm(String algorithm) { in setAlgorithm()
|
/libcore/luni/src/main/java/java/security/ |
D | KeyFactory.java | 44 private final String algorithm; field in KeyFactory 59 String algorithm) { in KeyFactory() 76 public static KeyFactory getInstance(String algorithm) in getInstance() 101 public static KeyFactory getInstance(String algorithm, String provider) in getInstance() 128 public static KeyFactory getInstance(String algorithm, Provider provider) in getInstance()
|
D | AlgorithmParameterGenerator.java | 45 private final String algorithm; field in AlgorithmParameterGenerator 60 String algorithm) { in AlgorithmParameterGenerator() 88 public static AlgorithmParameterGenerator getInstance(String algorithm) in getInstance() 117 public static AlgorithmParameterGenerator getInstance(String algorithm, in getInstance() 147 public static AlgorithmParameterGenerator getInstance(String algorithm, in getInstance()
|
D | AlgorithmParameters.java | 54 private final String algorithm; field in AlgorithmParameters 73 Provider provider, String algorithm) { in AlgorithmParameters() 92 public static AlgorithmParameters getInstance(String algorithm) in getInstance() 119 public static AlgorithmParameters getInstance(String algorithm, in getInstance() 149 public static AlgorithmParameters getInstance(String algorithm, in getInstance()
|
D | KeyPairGenerator.java | 46 private String algorithm; field in KeyPairGenerator 55 protected KeyPairGenerator(String algorithm) { in KeyPairGenerator() 80 public static KeyPairGenerator getInstance(String algorithm) in getInstance() 113 public static KeyPairGenerator getInstance(String algorithm, String provider) in getInstance() 141 public static KeyPairGenerator getInstance(String algorithm, in getInstance() 259 Provider provider, String algorithm) { in KeyPairGeneratorImpl()
|
D | SecureRandom.java | 79 private final String algorithm; field in SecureRandom 132 String algorithm) { in SecureRandom() 152 public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { in getInstance() 179 public static SecureRandom getInstance(String algorithm, String provider) in getInstance() 208 public static SecureRandom getInstance(String algorithm, Provider provider) in getInstance()
|
D | MessageDigest.java | 60 private String algorithm; field in MessageDigest 69 protected MessageDigest(String algorithm) { in MessageDigest() 86 public static MessageDigest getInstance(String algorithm) in getInstance() 121 public static MessageDigest getInstance(String algorithm, String provider) in getInstance() 150 public static MessageDigest getInstance(String algorithm, Provider provider) in getInstance() 377 Provider provider, String algorithm) { in MessageDigestImpl()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | KeyGeneratorTest.java | 47 String algorithm = service.getAlgorithm(); in test_getInstance() local 74 private static void putKeySize(String algorithm, int keySize) { in putKeySize() 83 private static List<Integer> getKeySizes(String algorithm) throws Exception { in getKeySizes() 138 String algorithm = kg.getAlgorithm(); in test_KeyGenerator() local
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | MessageDigestTest.java | 58 String algorithm = service.getAlgorithm(); in test_getInstance() local 85 private static void putExpectation(String algorithm, String inputName, byte[] expected) { in putExpectation() 94 private static Map<String, byte[]> getExpectations(String algorithm) throws Exception { in getExpectations() 211 String algorithm = md.getAlgorithm(); in test_MessageDigest() local 232 private void assertDigest(String algorithm, byte[] actual, byte[] expected) { in assertDigest()
|
/libcore/luni/src/main/java/javax/crypto/spec/ |
D | SecretKeySpec.java | 43 private final String algorithm; field in SecretKeySpec 57 public SecretKeySpec(byte[] key, String algorithm) { in SecretKeySpec() 93 public SecretKeySpec(byte[] key, int offset, int len, String algorithm) { in SecretKeySpec()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 57 private static boolean supportsManagerFactoryParameters(String algorithm) { in supportsManagerFactoryParameters() 62 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); in test_TrustManagerFactory_getDefaultAlgorithm() local 185 String algorithm = service.getAlgorithm(); in test_TrustManagerFactory_getInstance() local 231 String algorithm = service.getAlgorithm(); in test_TrustManagerFactory_intermediate() local 254 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); in test_TrustManagerFactory_keyOnly() local 284 String algorithm = "RSA"; in test_TrustManagerFactory_extendedKeyUsage() local
|
D | KeyManagerFactoryTest.java | 56 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); in test_KeyManagerFactory_getDefaultAlgorithm() local 64 private static boolean supportsManagerFactoryParameters(String algorithm) { in supportsManagerFactoryParameters() 69 private static String[] keyTypes(String algorithm) { in keyTypes() 158 private void test_X509KeyManager(X509KeyManager km, boolean empty, String algorithm) in test_X509KeyManager() 197 test_X509ExtendedKeyManager((X509ExtendedKeyManager) km, empty, algorithm); in test_X509KeyManager() local 202 boolean empty, String algorithm) throws Exception { in test_X509ExtendedKeyManager() 273 String algorithm = service.getAlgorithm(); in test_KeyManagerFactory_getInstance() local
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | PrivateKeyStub.java | 35 String algorithm = null; field in PrivateKeyStub 47 public PrivateKeyStub(String algorithm, String format, byte[] encoded) { in PrivateKeyStub()
|