Home
last modified time | relevance | path

Searched defs:algorithm (Results 1 – 25 of 88) sorted by relevance

1234

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DSecretKeySpecTest.java45 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/ojluni/annotations/hiddenapi/sun/security/jca/
DGetInstance.java39 java.lang.String type, java.lang.String algorithm) in getService()
45 java.lang.String type, java.lang.String algorithm, java.lang.String provider) in getService()
51 java.lang.String type, java.lang.String algorithm, java.security.Provider provider) in getService()
57 java.lang.String type, java.lang.String algorithm) { in getServices()
73 java.lang.String type, java.lang.Class<?> clazz, java.lang.String algorithm) in getInstance()
82 java.lang.String algorithm, in getInstance()
91 java.lang.String algorithm, in getInstance()
101 java.lang.String algorithm, in getInstance()
111 java.lang.String algorithm, in getInstance()
121 java.lang.String algorithm, in getInstance()
/libcore/ojluni/src/main/java/java/security/cert/
DCertPathBuilder.java125 private final String algorithm; field in CertPathBuilder
136 String algorithm) in CertPathBuilder()
171 public static CertPathBuilder getInstance(String algorithm) in getInstance()
214 public static CertPathBuilder getInstance(String algorithm, String provider) in getInstance()
251 public static CertPathBuilder getInstance(String algorithm, in getInstance()
DCertPathValidator.java124 private final String algorithm; field in CertPathValidator
135 Provider provider, String algorithm) in CertPathValidator()
170 public static CertPathValidator getInstance(String algorithm) in getInstance()
213 public static CertPathValidator getInstance(String algorithm, in getInstance()
251 public static CertPathValidator getInstance(String algorithm, in getInstance()
/libcore/ojluni/src/main/java/javax/net/ssl/
DTrustManagerFactory.java66 private String algorithm; field in TrustManagerFactory
103 Provider provider, String algorithm) { in TrustManagerFactory()
152 public static final TrustManagerFactory getInstance(String algorithm) in getInstance()
195 public static final TrustManagerFactory getInstance(String algorithm, in getInstance()
233 public static final TrustManagerFactory getInstance(String algorithm, in getInstance()
DKeyManagerFactory.java66 private String algorithm; field in KeyManagerFactory
103 Provider provider, String algorithm) { in KeyManagerFactory()
150 public static final KeyManagerFactory getInstance(String algorithm) in getInstance()
193 public static final KeyManagerFactory getInstance(String algorithm, in getInstance()
231 public static final KeyManagerFactory getInstance(String algorithm, in getInstance()
/libcore/ojluni/src/main/java/sun/security/util/
DAlgorithmDecomposer.java41 private static Set<String> decomposeImpl(String algorithm) { in decomposeImpl()
79 public Set<String> decompose(String algorithm) { in decompose()
149 public static Set<String> decomposeOneHash(String algorithm) { in decomposeOneHash()
169 public static String hashName(String algorithm) { in hashName()
DDisabledAlgorithmConstraints.java97 String algorithm, AlgorithmParameters parameters) { in permits()
122 String algorithm, Key key, AlgorithmParameters parameters) { in permits()
165 String algorithm, Key key, AlgorithmParameters parameters) { in checkConstraints()
196 String algorithm = cert.getSigAlgName(); in checkConstraints() local
255 String algorithm; in Constraints() local
321 private Set<Constraint> getConstraints(String algorithm) { in getConstraints()
377 String algorithm; field in DisabledAlgorithmConstraints.Constraint
/libcore/ojluni/annotations/hiddenapi/java/security/
DKeyPairGenerator.java33 protected KeyPairGenerator(java.lang.String algorithm) { in KeyPairGenerator()
43 sun.security.jca.GetInstance.Instance instance, java.lang.String algorithm) { in getInstance()
47 public static java.security.KeyPairGenerator getInstance(java.lang.String algorithm) in getInstance()
53 java.lang.String algorithm, java.lang.String provider) in getInstance()
59 java.lang.String algorithm, java.security.Provider provider) in getInstance()
99 private final java.lang.String algorithm; field in KeyPairGenerator
110 Delegate(java.security.KeyPairGeneratorSpi spi, java.lang.String algorithm) { in Delegate()
118 java.lang.String algorithm) { in Delegate()
/libcore/ojluni/src/main/java/java/security/
DAlgorithmParameterGenerator.java124 private String algorithm; field in AlgorithmParameterGenerator
135 String algorithm) { in AlgorithmParameterGenerator()
179 public static AlgorithmParameterGenerator getInstance(String algorithm) in getInstance()
229 public static AlgorithmParameterGenerator getInstance(String algorithm, in getInstance()
273 public static AlgorithmParameterGenerator getInstance(String algorithm, in getInstance()
DAlgorithmParameters.java179 private String algorithm; field in AlgorithmParameters
192 Provider provider, String algorithm) in AlgorithmParameters()
238 public static AlgorithmParameters getInstance(String algorithm) in getInstance()
288 public static AlgorithmParameters getInstance(String algorithm, in getInstance()
335 public static AlgorithmParameters getInstance(String algorithm, in getInstance()
DKeyFactory.java125 private final String algorithm; field in KeyFactory
149 String algorithm) { in KeyFactory()
155 private KeyFactory(String algorithm) throws NoSuchAlgorithmException { in KeyFactory()
193 public static KeyFactory getInstance(String algorithm) in getInstance()
232 public static KeyFactory getInstance(String algorithm, String provider) in getInstance()
271 public static KeyFactory getInstance(String algorithm, Provider provider) in getInstance()
DKeyPairGenerator.java155 private final String algorithm; field in KeyPairGenerator
169 protected KeyPairGenerator(String algorithm) { in KeyPairGenerator()
187 String algorithm) { in getInstance()
235 public static KeyPairGenerator getInstance(String algorithm) in getInstance()
299 public static KeyPairGenerator getInstance(String algorithm, in getInstance()
338 public static KeyPairGenerator getInstance(String algorithm, in getInstance()
587 Delegate(KeyPairGeneratorSpi spi, String algorithm) { in Delegate()
593 String algorithm) { in Delegate()
DAlgorithmConstraints.java70 String algorithm, AlgorithmParameters parameters); in permits()
106 String algorithm, Key key, AlgorithmParameters parameters); in permits()
DMessageDigest.java143 private String algorithm; field in MessageDigest
162 protected MessageDigest(String algorithm) { in MessageDigest()
193 public static MessageDigest getInstance(String algorithm) in getInstance()
255 public static MessageDigest getInstance(String algorithm, String provider) in getInstance()
304 public static MessageDigest getInstance(String algorithm, in getInstance()
586 public Delegate(MessageDigestSpi digestSpi, String algorithm) { in Delegate()
DSecureRandom.java133 private String algorithm; field in SecureRandom
243 String algorithm) { in SecureRandom()
295 public static SecureRandom getInstance(String algorithm) in getInstance()
346 public static SecureRandom getInstance(String algorithm, String provider) in getInstance()
390 public static SecureRandom getInstance(String algorithm, in getInstance()
/libcore/ojluni/src/main/java/javax/crypto/
DSecretKeyFactory.java273 private final String algorithm; field in SecretKeyFactory
293 Provider provider, String algorithm) { in SecretKeyFactory()
299 private SecretKeyFactory(String algorithm) throws NoSuchAlgorithmException { in SecretKeyFactory()
342 public static final SecretKeyFactory getInstance(String algorithm) in getInstance()
385 public static final SecretKeyFactory getInstance(String algorithm, in getInstance()
428 public static final SecretKeyFactory getInstance(String algorithm, in getInstance()
DKeyAgreement.java109 private final String algorithm; field in KeyAgreement
138 String algorithm) { in KeyAgreement()
146 private KeyAgreement(String algorithm) { in KeyAgreement()
195 public static final KeyAgreement getInstance(String algorithm) in getInstance()
252 public static final KeyAgreement getInstance(String algorithm, in getInstance()
295 public static final KeyAgreement getInstance(String algorithm, in getInstance()
680 public final SecretKey generateSecret(String algorithm) in generateSecret()
DKeyGenerator.java193 private final String algorithm; field in KeyGenerator
212 String algorithm) { in KeyGenerator()
226 private KeyGenerator(String algorithm) throws NoSuchAlgorithmException { in KeyGenerator()
289 public static final KeyGenerator getInstance(String algorithm) in getInstance()
330 public static final KeyGenerator getInstance(String algorithm, in getInstance()
371 public static final KeyGenerator getInstance(String algorithm, in getInstance()
/libcore/ojluni/src/main/java/sun/security/jca/
DServiceId.java38 public final String algorithm; field in ServiceId
40 public ServiceId(String type, String algorithm) { in ServiceId()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DSecretKeySpec.java66 private String algorithm; field in SecretKeySpec
91 public SecretKeySpec(byte[] key, String algorithm) { in SecretKeySpec()
140 public SecretKeySpec(byte[] key, int offset, int len, String algorithm) { in SecretKeySpec()
/libcore/ojluni/annotations/sdk/nullability/java/security/
DMessageDigest.annotated.java37 …geDigest(@libcore.util.NonNull java.lang.String algorithm) { throw new RuntimeException("Stub!"); } in MessageDigest()
39 …lang.String algorithm) throws java.security.NoSuchAlgorithmException { throw new RuntimeException(… in getInstance()
41 …lang.String algorithm, @libcore.util.NonNull java.lang.String provider) throws java.security.NoSuc… in getInstance()
43 …lang.String algorithm, @libcore.util.NonNull java.security.Provider provider) throws java.security… in getInstance()
/libcore/support/src/test/java/libcore/java/security/
DStandardNames.java92 private static void provide(String type, String algorithm) { in provide()
101 private static void unprovide(String type, String algorithm) { in unprovide()
109 private static void provideCipherModes(String algorithm, String newModes[]) { in provideCipherModes()
117 private static void provideCipherPaddings(String algorithm, String newPaddings[]) { in provideCipherPaddings()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DPrivateKeyStub.java35 String algorithm = null; field in PrivateKeyStub
47 public PrivateKeyStub(String algorithm, String format, byte[] encoded) { in PrivateKeyStub()
/libcore/ojluni/src/main/java/com/sun/net/ssl/internal/ssl/
DX509ExtendedTrustManager.java91 String authType, String hostname, String algorithm) in checkClientTrusted()
120 String authType, String hostname, String algorithm) in checkServerTrusted()

1234