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

1 2 3 4 5 6 7 8 91011>>

  /external/stlport/test/unit/
algorithm_header_test.cpp 8 #include <algorithm>
  /ndk/sources/android/stlport/test/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,
  /frameworks/base/core/java/android/security/
MessageDigest.java 29 * @param algorithm The type of hash function to use. Valid values are
34 * @throws NoSuchAlgorithmException If an invalid <var>algorithm</var>
37 public static MessageDigest getInstance(String algorithm)
40 if (algorithm == null) {
44 if (algorithm.equals("SHA-1")) {
47 else if (algorithm.equals("MD5")) {
  /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/x509/
X509PublicKey.java 24 private final String algorithm; field in class:X509PublicKey
30 public X509PublicKey(String algorithm, byte[] encoded, byte[] keyBytes) {
31 this.algorithm = algorithm;
37 return algorithm;
50 StringBuilder buf = new StringBuilder("algorithm = ");
51 buf.append(algorithm);
AlgorithmIdentifier.java 37 * with the Algorithm Identifier which is a part of X.509 certificate
45 * algorithm OBJECT IDENTIFIER,
46 * parameters ANY DEFINED BY algorithm OPTIONAL
52 // the value of algorithm field
53 private String algorithm; field in class:AlgorithmIdentifier
54 // the name of the algorithm
63 * @param algorithm: String
65 public AlgorithmIdentifier(String algorithm) {
66 this(algorithm, null, null);
71 * @param algorithm: Strin
    [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 44 // The algorithm.
45 private String algorithm; field in class:KeyFactory
55 * @param algorithm
56 * the algorithm to use.
60 String algorithm) {
62 this. algorithm = algorithm; local
68 * algorithm.
70 * @param algorithm
71 * the name of the algorithm
    [all...]
MessageDigest.java 59 // The algorithm.
60 private String algorithm; field in class:MessageDigest
64 * the algorithm to use.
66 * @param algorithm
67 * the name of algorithm to use
69 protected MessageDigest(String algorithm) {
70 this.algorithm = algorithm;
75 * specified algorithm.
77 * @param algorithm
    [all...]
AlgorithmParameters.java 27 * {@code AlgorithmParameters} is an engine class which provides algorithm
52 * The security algorithm.
54 private 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...]
  /libcore/luni/src/main/java/java/security/cert/
CertPathBuilder.java 53 // Store algorithm name
54 private final String algorithm; field in class:CertPathBuilder
63 * @param algorithm
64 * the desired algorithm available at the provider.
67 String algorithm) {
69 this.algorithm = algorithm;
74 * Returns the algorithm name of this instance.
76 * @return the algorithm name of this instance.
79 return algorithm;
    [all...]
CertPathValidator.java 53 // Store used algorithm value
54 private final String algorithm; field in class:CertPathValidator
63 * @param algorithm
64 * the name of the algorithm.
67 Provider provider, String algorithm) {
69 this.algorithm = algorithm;
74 * Returns the certification path algorithm name.
76 * @return the certification path algorithm name.
79 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...]
KeyGenerator.java 48 // Store used algorithm name
49 private final String algorithm; field in class:KeyGenerator
58 * @param algorithm
59 * the name of the algorithm.
62 String algorithm) {
64 this.algorithm = algorithm;
69 * Returns the name of the key generation algorithm.
71 * @return the name of the key generation algorithm.
74 return algorithm;
    [all...]
  /libcore/luni/src/main/java/javax/crypto/spec/
SecretKeySpec.java 43 private final String algorithm; field in class:SecretKeySpec
48 * algorithm name.
52 * @param algorithm
53 * the algorithm name.
55 * if the key data or the algorithm name is null or if the key
58 public SecretKeySpec(byte[] key, String algorithm) {
65 if (algorithm == null) {
66 throw new IllegalArgumentException("algorithm == null");
69 this.algorithm = algorithm;
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/fortress/
Engine.java 40 // for getInstance(String algorithm, Object param) optimization:
78 * @param algorithm
82 public synchronized void getInstance(String algorithm, Object param)
86 if (algorithm == null) {
87 throw new NoSuchAlgorithmException("Null algorithm name");
91 && Util.equalsIgnoreCase(algorithm, lastAlgorithm)
96 throw notFound(serviceName, algorithm);
100 Util.toUpperCase(algorithm)).toString());
102 throw notFound(serviceName, algorithm);
105 lastAlgorithm = algorithm;
    [all...]
  /libcore/luni/src/main/java/javax/net/ssl/
KeyManagerFactory.java 43 private static final String PROPERTY_NAME = "ssl.KeyManagerFactory.algorithm";
46 * Returns the default key manager factory algorithm name.
48 * The default algorithm name is specified by the security property:
49 * {@code 'ssl.KeyManagerFactory.algorithm'}.
51 * @return the default algorithm name.
63 * management algorithm.
65 * @param algorithm
66 * the name of the requested key management algorithm.
67 * @return a key manager factory for the requested algorithm.
69 * if no installed provider can provide the requested algorithm
    [all...]
TrustManagerFactory.java 43 private static final String PROPERTYNAME = "ssl.TrustManagerFactory.algorithm";
46 * Returns the default algorithm name for the {@code TrustManagerFactory}. The
47 * default algorithm name is specified by the security property
48 * {@code 'ssl.TrustManagerFactory.algorithm'}.
50 * @return the default algorithm name.
62 * trust management algorithm.
64 * @param algorithm
65 * the name of the requested trust management algorithm.
66 * @return a trust manager factory for the requested algorithm.
68 * if no installed provider can provide the requested algorithm
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
SecretKeySpecTest.java 44 * SecretKeySpec(byte[] key, String algorithm) method testing. Tests that
57 String algorithm = "Algorithm"; local
60 new SecretKeySpec(new byte[] {}, algorithm);
67 new SecretKeySpec(null, algorithm);
76 + "in the case of null algorithm.");
80 SecretKeySpec ks = new SecretKeySpec(key, algorithm);
88 * SecretKeySpec(byte[] key, int offset, int len, String algorithm) method
103 String algorithm = "Algorithm"; local
167 String algorithm = "Algorithm"; local
191 String algorithm = "Algorithm"; local
210 String algorithm = "Algorithm"; local
230 String algorithm = "Algorithm"; local
262 String algorithm = "Algorithm"; local
283 String algorithm = "Algorithm"; local
    [all...]

Completed in 615 milliseconds

1 2 3 4 5 6 7 8 91011>>