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

1 2 3 4 5 6 7 8 91011>>

  /external/stlport/test/unit/
algorithm_header_test.cpp 8 #include <algorithm>
  /ndk/tests/device/test-gnustl-full/unit/
algorithm_header_test.cpp 8 #include <algorithm>
  /ndk/tests/device/test-stlport/unit/
algorithm_header_test.cpp 8 #include <algorithm>
  /libcore/luni/src/main/java/org/apache/harmony/security/
PrivateKeyImpl.java 33 private String algorithm; field in class:PrivateKeyImpl
37 public PrivateKeyImpl(String algorithm) {
38 this.algorithm = algorithm;
42 return algorithm;
57 public void setAlgorithm(String algorithm) {
58 this.algorithm = algorithm;
PublicKeyImpl.java 37 private String algorithm; field in class:PublicKeyImpl
40 public PublicKeyImpl(String algorithm) {
41 this.algorithm = algorithm;
46 return algorithm;
62 public void setAlgorithm(String algorithm) {
63 this.algorithm = algorithm;
  /system/core/include/cutils/
dir_hash.h 21 int get_file_hash(HashAlgorithm algorithm, const char *path,
24 int get_recursive_hash_manifest(HashAlgorithm algorithm,
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
PrivateKeyStub.java 34 String algorithm = null; field in class:PrivateKeyStub
42 * @param algorithm
46 public PrivateKeyStub(String algorithm, String format, byte[] encoded) {
47 this.algorithm = algorithm;
53 * Returns algorithm
57 return algorithm;
PublicKeyStub.java 37 String algorithm = null; field in class:PublicKeyStub
44 public PublicKeyStub(String algorithm, String format, byte[] encoded) {
45 this.algorithm = algorithm;
51 * returns algorithm
54 return algorithm;
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
PrivateKeyStub.java 35 String algorithm = null; field in class:PrivateKeyStub
43 * @param algorithm
47 public PrivateKeyStub(String algorithm, String format, byte[] encoded) {
48 this.algorithm = algorithm;
54 * Returns algorithm
58 return algorithm;
PublicKeyStub.java 38 String algorithm = null; field in class:PublicKeyStub
45 public PublicKeyStub(String algorithm, String format, byte[] encoded) {
46 this.algorithm = algorithm;
52 * returns algorithm
55 return algorithm;
  /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/main/java/org/apache/harmony/security/x509/
X509PublicKey.java 23 private final String algorithm; field in class:X509PublicKey
27 public X509PublicKey(String algorithm, byte[] encoded, byte[] keyBytes) {
28 this.algorithm = algorithm;
34 return algorithm;
47 StringBuilder buf = new StringBuilder("algorithm = ");
48 buf.append(algorithm);
  /libcore/luni/src/main/java/javax/crypto/spec/
SecretKeySpec.java 43 private final String algorithm; field in class:SecretKeySpec
47 * algorithm name.
51 * @param algorithm
52 * the algorithm name.
54 * if the key data or the algorithm name is null or if the key
57 public SecretKeySpec(byte[] key, String algorithm) {
64 if (algorithm == null) {
65 throw new IllegalArgumentException("algorithm == null");
68 this.algorithm = algorithm;
    [all...]
  /libcore/luni/src/main/java/java/security/
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...]
AlgorithmParameterGenerator.java 25 * generating parameters for the algorithm it was initialized with.
44 //Store used algorithm
45 private final String algorithm; field in class:AlgorithmParameterGenerator
55 * @param algorithm
56 * the name of the algorithm.
60 String algorithm) {
62 this.algorithm = algorithm;
67 * Returns the name of the algorithm.
69 * @return the name of the algorithm
    [all...]
KeyFactory.java 43 // The algorithm.
44 private final String algorithm; field in class:KeyFactory
54 * @param algorithm
55 * the algorithm to use.
59 String algorithm) {
61 this.algorithm = algorithm;
67 * algorithm.
69 * @param algorithm
70 * the name of the algorithm
    [all...]
  /libcore/luni/src/main/java/java/security/cert/
CertPathBuilder.java 52 // Store algorithm name
53 private final String algorithm; field in class:CertPathBuilder
62 * @param algorithm
63 * the desired algorithm available at the provider.
66 String algorithm) {
68 this.algorithm = algorithm;
73 * Returns the algorithm name of this instance.
75 * @return the algorithm name of this instance.
78 return algorithm;
    [all...]
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/crypto/
SecretKeyFactory.java 53 // Store used algorithm name
54 private final String algorithm; field in class:SecretKeyFactory
63 * @param algorithm
64 * the algorithm name for the secret key.
67 Provider provider, String algorithm) {
69 this.algorithm = algorithm;
74 * Returns the name of the secret key algorithm.
76 * @return the name of the secret key algorithm.
79 return algorithm;
    [all...]
KeyAgreement.java 50 // Store used algorithm name
51 private final String algorithm; field in class:KeyAgreement
60 * @param algorithm
61 * the name of the key agreement algorithm.
64 String algorithm) {
66 this.algorithm = algorithm;
71 * Returns the name of the key agreement algorithm.
73 * @return the name of the key agreement algorithm.
76 return algorithm;
    [all...]
  /libcore/luni/src/main/java/javax/net/ssl/
KeyManagerFactory.java 41 private static final String PROPERTY_NAME = "ssl.KeyManagerFactory.algorithm";
44 * Returns the default key manager factory algorithm name.
46 * The default algorithm name is specified by the security property:
47 * {@code 'ssl.KeyManagerFactory.algorithm'}.
49 * @return the default algorithm name.
57 * management algorithm.
59 * @param algorithm
60 * the name of the requested key management algorithm.
61 * @return a key manager factory for the requested algorithm.
63 * if no installed provider can provide the requested algorithm
143 private final String algorithm; field in class:KeyManagerFactory
    [all...]
TrustManagerFactory.java 41 private static final String PROPERTYNAME = "ssl.TrustManagerFactory.algorithm";
44 * Returns the default algorithm name for the {@code TrustManagerFactory}. The
45 * default algorithm name is specified by the security property
46 * {@code 'ssl.TrustManagerFactory.algorithm'}.
48 * @return the default algorithm name.
56 * trust management algorithm.
58 * @param algorithm
59 * the name of the requested trust management algorithm.
60 * @return a trust manager factory for the requested algorithm.
62 * if no installed provider can provide the requested algorithm
142 private final String algorithm; field in class:TrustManagerFactory
    [all...]
  /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...]
  /external/apache-harmony/crypto/src/test/api/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
162 String algorithm = "Algorithm"; local
175 String algorithm = "Algorithm"; local
189 String algorithm = "Algorithm"; local
215 String algorithm = "Algorithm"; local
230 String algorithm = "Algorithm"; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/
MessageDigestTest.java 53 String algorithm = service.getAlgorithm(); local
56 MessageDigest md1 = MessageDigest.getInstance(algorithm);
57 assertEquals(algorithm, md1.getAlgorithm());
61 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider);
62 assertEquals(algorithm, md2.getAlgorithm());
67 MessageDigest md3 = MessageDigest.getInstance(algorithm, provider.getName());
68 assertEquals(algorithm, md3.getAlgorithm());
72 throw new Exception("Problem testing MessageDigest." + algorithm, e);
80 private static void putExpectation(String algorithm, String inputName, byte[] expected) {
81 algorithm = algorithm.toUpperCase()
197 String algorithm = md.getAlgorithm(); local
    [all...]

Completed in 262 milliseconds

1 2 3 4 5 6 7 8 91011>>