HomeSort by relevance Sort by last modified time
    Searched defs:algorithm (Results 51 - 75 of 189) sorted by null

1 23 4 5 6 7 8

  /libcore/benchmarks/src/benchmarks/regression/
DigestBenchmark.java 33 @Param private Algorithm algorithm; field in class:DigestBenchmark
35 public enum Algorithm { MD5, SHA1, SHA256, SHA384, SHA512 };
47 className += ("OpenSSLDigest$" + algorithm);
50 className += (algorithm + "Digest");
MessageDigestBenchmark.java 33 @Param private Algorithm algorithm; field in class:MessageDigestBenchmark
35 public enum Algorithm { MD5, SHA1, SHA256, SHA384, SHA512 };
43 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(),
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLSecretKey.java 31 private final String algorithm; field in class:OpenSSLSecretKey
37 public OpenSSLSecretKey(String algorithm, byte[] encoded) {
38 this.algorithm = algorithm;
45 public OpenSSLSecretKey(String algorithm, OpenSSLKey key) {
46 this.algorithm = algorithm;
64 return algorithm;
101 if (!algorithm.equals(other.getAlgorithm())) {
  /libcore/luni/src/main/java/java/security/
AlgorithmParameters.java 27 * {@code AlgorithmParameters} is an engine class which provides algorithm
52 * The security algorithm.
54 private final String algorithm; field in class:AlgorithmParameters
69 * @param algorithm
70 * the name of the algorithm.
73 Provider provider, String algorithm) {
75 this.algorithm = algorithm;
81 * algorithm.
83 * @param algorithm
    [all...]
KeyPairGenerator.java 26 * private key and its related public key utilizing the algorithm it was
45 // Store used algorithm
46 private String algorithm; field in class:KeyPairGenerator
50 * the algorithm to use.
52 * @param algorithm
53 * the name of algorithm to use
55 protected KeyPairGenerator(String algorithm) {
56 this.algorithm = algorithm;
60 * Returns the name of the algorithm of this {@code KeyPairGenerator}
    [all...]
  /libcore/luni/src/main/java/java/security/cert/
CertPathValidator.java 52 // Store used algorithm value
53 private final String algorithm; field in class:CertPathValidator
62 * @param algorithm
63 * the name of the algorithm.
66 Provider provider, String algorithm) {
68 this.algorithm = algorithm;
73 * Returns the certification path algorithm name.
75 * @return the certification path algorithm name.
78 return algorithm;
    [all...]
  /libcore/luni/src/main/java/javax/net/ssl/
KeyManagerFactory.java 41 private static final String PROPERTY_NAME = "ssl.KeyManagerFactory.algorithm";
47 * Returns the default key manager factory algorithm name.
49 * The default algorithm name is specified by the security property:
50 * {@code 'ssl.KeyManagerFactory.algorithm'}.
52 * @return the default algorithm name.
55 String algorithm = Security.getProperty(PROPERTY_NAME); local
56 return (algorithm != null ? algorithm : DEFAULT_PROPERTY);
61 * management algorithm.
63 * @param algorithm
147 private final String algorithm; field in class:KeyManagerFactory
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/fortress/
Engine.java 48 * private final String algorithm;
52 * String algorithm) {
55 * this.algorithm = algorithm;
58 * public static Foo getInstance(String algorithm) {
59 * Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null);
60 * return new Foo((FooSpi) sap.spi, sap.provider, algorithm);
63 * public static Foo getInstance(String algorithm, Provider provider) {
64 * Object spi = ENGINE.getInstance(algorithm, provider, null);
65 * return new Foo((FooSpi) spi, provider, algorithm);
94 private final String algorithm; field in class:Engine.ServiceCacheEntry
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/
SecureRandomTest.java 46 String algorithm = service.getAlgorithm(); local
48 SecureRandom sr1 = SecureRandom.getInstance(algorithm);
49 assertEquals(algorithm, sr1.getAlgorithm());
53 SecureRandom sr2 = SecureRandom.getInstance(algorithm, provider);
54 assertEquals(algorithm, sr2.getAlgorithm());
59 SecureRandom sr3 = SecureRandom.getInstance(algorithm, provider.getName());
60 assertEquals(algorithm, sr3.getAlgorithm());
64 System.out.println("SecureRandomTest " + algorithm + " and provider "
67 throw new Exception("Problem testing SecureRandom." + algorithm
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
SecretKeySpecTest.java 38 * SecretKeySpec(byte[] key, String algorithm) method testing. Tests that
45 String algorithm = "Algorithm"; local
48 new SecretKeySpec(new byte[] {}, algorithm);
55 new SecretKeySpec(null, algorithm);
64 + "in the case of null algorithm.");
68 SecretKeySpec ks = new SecretKeySpec(key, algorithm);
76 * SecretKeySpec(byte[] key, int offset, int len, String algorithm) method
85 String algorithm = "Algorithm"; local
143 String algorithm = "Algorithm"; local
161 String algorithm = "Algorithm"; local
174 String algorithm = "Algorithm"; local
188 String algorithm = "Algorithm"; local
214 String algorithm = "Algorithm"; local
229 String algorithm = "Algorithm"; local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStorePrivateKeyEntryTest.java 65 String algorithm = certificate.getPublicKey().getAlgorithm(); local
67 .getInstance(algorithm);
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 90 private String algorithm; field in class:KeyStoreTestSupport.MyPrivateKey
96 public MyPrivateKey(String algorithm, String format, byte[] encoded) {
97 this.algorithm = algorithm;
103 return algorithm;
MyKeyPairGenerator1.java 95 private String algorithm; field in class:MyKeyPairGenerator1.PubKey
102 this.algorithm = "MyKeyPairGenerator1";
108 return algorithm;
121 private String algorithm; field in class:MyKeyPairGenerator1.PrivKey
128 this.algorithm = "MyKeyPairGenerator1";
134 return algorithm;
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/
util.hpp 14 #include <boost/algorithm/string/config.hpp>
19 namespace algorithm { namespace in namespace:boost
66 // bounded copy algorithm -----------------------------------------------//
68 // Bounded version of the std::copy algorithm
102 } // namespace algorithm
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/
replace.hpp 14 #include <boost/algorithm/string/config.hpp>
22 #include <boost/algorithm/string/find_format.hpp>
23 #include <boost/algorithm/string/finder.hpp>
24 #include <boost/algorithm/string/formatter.hpp>
25 #include <boost/algorithm/string/compare.hpp>
28 Defines various replace algorithms. Each algorithm replaces
33 namespace algorithm { namespace in namespace:boost
37 //! Replace range algorithm
64 return ::boost::algorithm::find_format_copy(
67 ::boost::algorithm::range_finder(SearchRange)
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 115 "generatePrivate generated different key for algorithm "
120 fail("invalid key spec for algorithm " + keyfactAlgs[i]);
122 fail("getInstance did not find algorithm " + keyfactAlgs[i]);
155 "generatePublic generated different key for algorithm "
158 fail("getInstance did not find algorithm " + keyfactAlgs[i]);
162 fail("invalid key spec for algorithm " + keyfactAlgs[i]);
177 assertTrue("getAlgorithm ok for algorithm " + keyfactAlgs[i],
180 fail("getInstance did not find algorithm " + keyfactAlgs[i]);
197 fail("getInstance did not find algorithm " + keyfactAlgs[i]);
221 fail("getInstance did not find algorithm");
370 String algorithm = (String) e.nextElement(); local
    [all...]
  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
SealedObjectTest.java 104 assertEquals("The algorithm which was used to seal the object "
105 + "should be the same as the algorithm used to seal the "
115 String algorithm = "DES"; local
116 KeyGenerator kg = KeyGenerator.getInstance(algorithm);
119 Cipher cipher = Cipher.getInstance(algorithm);
123 assertEquals("The algorithm name should be the same as used "
124 + "in cipher.", algorithm, so.getAlgorithm());
129 * encryption algorithm and specified parameters can be retrieved by
149 + "should contain the encoded algorithm parameters.", Arrays
156 * with encryption algorithm and specified parameters can be retrieved b
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
OpenSSLDigest.java 28 * Holds the standard name of the hashing algorithm, e.g. "SHA-1";
30 private final String algorithm; field in class:OpenSSLDigest
33 * Holds the EVP_MD for the hashing algorithm, e.g. EVP_get_digestbyname("sha1");
60 * Creates a new OpenSSLMessageDigest instance for the given algorithm
63 private OpenSSLDigest(String algorithm, long evp_md, int size, int blockSize) {
64 this.algorithm = algorithm;
71 return algorithm;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
KeyPairGeneratorSpi.java 54 String algorithm; field in class:KeyPairGeneratorSpi.EC
74 this.algorithm = "EC";
79 String algorithm,
82 super(algorithm);
83 this.algorithm = algorithm;
264 BCECPublicKey pubKey = new BCECPublicKey(algorithm, pub, p, configuration);
266 new BCECPrivateKey(algorithm, priv, pubKey, p, configuration));
270 return new KeyPair(new BCECPublicKey(algorithm, pub, configuration),
271 new BCECPrivateKey(algorithm, priv, configuration))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BCPBEKey.java 15 String algorithm; field in class:BCPBEKey
29 String algorithm,
38 this.algorithm = algorithm;
50 return algorithm;
  /external/chromium_org/net/android/java/src/org/chromium/net/
X509Util.java 90 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); local
91 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/svgadump/
svga_dump.py 41 from pygccxml.declarations import algorithm namespace
86 algorithm.apply_visitor(dumper, decl)
163 algorithm.apply_visitor(visitor, type_)
  /external/ipsec-tools/src/racoon/
getcertsbyname.c 70 getnewci(qtype, keytag, algorithm, flags, certlen, cert)
71 int qtype, keytag, algorithm, flags, certlen;
83 res->ci_algorithm = algorithm;
127 int type, keytag, algorithm; local
170 algorithm = *cp++; /* algorithm */
175 type, keytag, algorithm, rdlength);
179 cur->ci_next = getnewci(type, keytag, algorithm,
214 int qtype, qclass, keytag, algorithm; local
303 algorithm = *cp++; /* algorithm *
    [all...]
  /external/mesa3d/src/gallium/drivers/svga/svgadump/
svga_dump.py 41 from pygccxml.declarations import algorithm namespace
86 algorithm.apply_visitor(dumper, decl)
163 algorithm.apply_visitor(visitor, type_)
  /external/nist-sip/java/gov/nist/core/net/
SslNetworkLayer.java 72 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); local
73 TrustManagerFactory tmFactory = TrustManagerFactory.getInstance(algorithm);
74 KeyManagerFactory kmFactory = KeyManagerFactory.getInstance(algorithm);

Completed in 1327 milliseconds

1 23 4 5 6 7 8