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

1 2 3

  /packages/apps/CertInstaller/src/com/android/certinstaller/
Util.java 61 MessageDigest algorithm = MessageDigest.getInstance("MD5"); local
62 algorithm.reset();
63 algorithm.update(bytes);
64 return toHexString(algorithm.digest(), "");
  /dalvik/libcore/crypto/src/main/java/javax/crypto/
SecretKeyFactory.java 55 // Store used algorithm name
56 private final String algorithm; field in class:SecretKeyFactory
65 * @param algorithm
66 * the algorithm name for the secret key.
69 Provider provider, String algorithm) {
71 this.algorithm = algorithm;
76 * Returns the name of the secret key algorithm.
78 * @return the name of the secret key algorithm.
81 return algorithm;
    [all...]
KeyAgreement.java 52 // Store used algorithm name
53 private final String algorithm; field in class:KeyAgreement
62 * @param algorithm
63 * the name of the key agreement algorithm.
66 String algorithm) {
68 this.algorithm = algorithm;
73 * Returns the name of the key agreement algorithm.
75 * @return the name of the key agreement algorithm.
78 return algorithm;
    [all...]
KeyGenerator.java 50 // Store used algorithm name
51 private final String algorithm; field in class:KeyGenerator
60 * @param algorithm
61 * the name of the algorithm.
64 String algorithm) {
66 this.algorithm = algorithm;
71 * Returns the name of the key generation algorithm.
73 * @return the name of the key generation algorithm.
76 return algorithm;
    [all...]
Mac.java 49 // Store used algorithm name
50 private final String algorithm; field in class:Mac
62 * @param algorithm
63 * the name of the MAC algorithm.
65 protected Mac(MacSpi macSpi, Provider provider, String algorithm) {
67 this.algorithm = algorithm;
73 * Returns the name of the MAC algorithm.
75 * @return the name of the MAC algorithm.
78 return algorithm;
    [all...]
  /dalvik/libcore/security/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;
  /dalvik/libcore/security/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 = "); // $NON-NLS-1$
51 buf.append(algorithm);
AlgorithmIdentifier.java 38 * with the Algorithm Identifier which is a part of X.509 certificate
46 * algorithm OBJECT IDENTIFIER,
47 * parameters ANY DEFINED BY algorithm OPTIONAL
53 // the value of algorithm field
54 private String algorithm; field in class:AlgorithmIdentifier
55 // the name of the algorithm
64 * @param algorithm: String
66 public AlgorithmIdentifier(String algorithm) {
67 this(algorithm, null, null);
72 * @param algorithm: Strin
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/
OriginatorPublicKey.java 16 private AlgorithmIdentifier algorithm; field in class:OriginatorPublicKey
20 AlgorithmIdentifier algorithm,
23 this.algorithm = algorithm;
30 algorithm = AlgorithmIdentifier.getInstance(seq.getObjectAt(0));
74 return algorithm;
86 * algorithm AlgorithmIdentifier,
95 v.add(algorithm);
  /dalvik/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;
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;
  /dalvik/libcore/crypto/src/main/java/javax/crypto/spec/
SecretKeySpec.java 45 private final String algorithm; field in class:SecretKeySpec
50 * algorithm name.
54 * @param algorithm
55 * the algorithm name.
57 * if the key data or the algorithm name is null or if the key
60 public SecretKeySpec(byte[] key, String algorithm) {
67 if (algorithm == null) {
71 this.algorithm = algorithm;
79 * length <code>len</code> and the specified <code>algorithm</code> name
    [all...]
  /dalvik/libcore/security/src/main/java/java/security/
AlgorithmParameterGenerator.java 27 * generating parameters for the algorithm it was initialized with.
46 //Store used algorithm
47 private final String algorithm; field in class:AlgorithmParameterGenerator
57 * @param algorithm
58 * the name of the algorithm.
62 String algorithm) {
64 this.algorithm = algorithm;
69 * Returns the name of the algorithm.
71 * @return the name of the algorithm
    [all...]
KeyFactory.java 46 // The algorithm.
47 private String algorithm; field in class:KeyFactory
57 * @param algorithm
58 * the algorithm to use.
62 String algorithm) {
64 this. algorithm = algorithm; local
70 * algorithm.
72 * @param algorithm
73 * the name of the algorithm
    [all...]
KeyRep.java 42 // Key algorithm name
43 private final String algorithm; field in class:KeyRep
56 * @param algorithm
57 * the algorithm (obtained by {@link Key#getAlgorithm()}).
64 * if {@code type, algorithm, format or encoded} is {@code null}
68 String algorithm, String format, byte[] encoded) {
70 this.algorithm = algorithm;
76 if(this.algorithm == null) {
92 * instance, generated from a key factory (suitable for the algorithm) tha
    [all...]
AlgorithmParameters.java 29 * {@code AlgorithmParameters} is an engine class which provides algorithm
54 * The security algorithm.
56 private String algorithm; field in class:AlgorithmParameters
71 * @param algorithm
72 * the name of the algorithm.
75 Provider provider, String algorithm) {
77 this.algorithm = algorithm;
83 * algorithm.
85 * @param algorithm
    [all...]
KeyPairGenerator.java 28 * private key and its related public key utilizing the algorithm it was
47 // Store used algorithm
48 private String algorithm; field in class:KeyPairGenerator
52 * the algorithm to use.
54 * @param algorithm
55 * the name of algorithm to use
57 protected KeyPairGenerator(String algorithm) {
58 this.algorithm = algorithm;
62 * Returns the name of the algorithm of this {@code KeyPairGenerator}
    [all...]
  /dalvik/libcore/security/src/main/java/java/security/cert/
CertPathBuilder.java 56 // Store algorithm name
57 private final String algorithm; field in class:CertPathBuilder
66 * @param algorithm
67 * the desired algorithm available at the provider.
70 String algorithm) {
72 this.algorithm = algorithm;
77 * Returns the algorithm name of this instance.
79 * @return the algorithm name of this instance.
82 return algorithm;
    [all...]
CertPathValidator.java 56 // Store used algorithm value
57 private final String algorithm; field in class:CertPathValidator
66 * @param algorithm
67 * the name of the algorithm.
70 Provider provider, String algorithm) {
72 this.algorithm = algorithm;
77 * Returns the certification path algorithm name.
79 * @return the certification path algorithm name.
82 return algorithm;
    [all...]
  /dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStorePrivateKeyEntryTest.java 65 String algorithm = certificate.getPublicKey().getAlgorithm(); local
67 .getInstance(algorithm);
  /dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLMessageDigest.java 29 * Holds the name of the hashing algorithm, e.g. "SHA-1";
31 private String algorithm; field in class:OpenSSLMessageDigest
44 * Creates a new OpenSSLMessageDigest instance for the given algorithm
47 * @param algorithm The name of the algorithm, e.g. "SHA1".
53 public static OpenSSLMessageDigest getInstance(String algorithm) {
54 return new OpenSSLMessageDigest(algorithm);
58 * Creates a new OpenSSLMessageDigest instance for the given algorithm
61 * @param algorithm The name of the algorithm, e.g. "SHA1"
    [all...]
  /dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
SealedObjectTest.java 164 assertEquals("The algorithm which was used to seal the object "
165 + "should be the same as the algorithm used to seal the "
181 String algorithm = "DES"; local
182 KeyGenerator kg = KeyGenerator.getInstance(algorithm);
185 Cipher cipher = Cipher.getInstance(algorithm);
189 assertEquals("The algorithm name should be the same as used "
190 + "in cipher.", algorithm, so.getAlgorithm());
195 * encryption algorithm and specified parameters can be retrieved by
221 + "should contain the encoded algorithm parameters.", Arrays
237 * with encryption algorithm and specified parameters can be retrieved b
    [all...]

Completed in 552 milliseconds

1 2 3