/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(), "");
|
/external/chromium/base/ |
hmac_mac.cc | 45 CCHmacAlgorithm algorithm; local 49 algorithm = kCCHmacAlgSHA1; 62 CCHmac(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;
|
/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/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;
|
/libcore/luni/src/main/java/java/security/ |
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...] |
KeyRep.java | 39 // Key algorithm name 40 private final String algorithm; field in class:KeyRep 53 * @param algorithm 54 * the algorithm (obtained by {@link Key#getAlgorithm()}). 61 * if {@code type, algorithm, format or encoded} is {@code null} 64 public KeyRep(Type type, String algorithm, String format, byte[] encoded) { 66 this.algorithm = algorithm; 72 if(this.algorithm == null) { 73 throw new NullPointerException("algorithm == null") [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...] |
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...] |
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/javax/crypto/ |
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...] |
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...] |
/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/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/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...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStorePrivateKeyEntryTest.java | 65 String algorithm = certificate.getPublicKey().getAlgorithm(); local 67 .getInstance(algorithm);
|
/external/bouncycastle/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 OpenSSL name of the hashing algorithm, e.g. "sha1"; 48 * Creates a new OpenSSLMessageDigest instance for the given algorithm 51 * @param algorithm The standard name of the algorithm, e.g. "SHA-1". 52 * @param algorithm The name of the openssl algorithm, e.g. "sha1". 54 private OpenSSLDigest(String algorithm, String openssl) { 55 this.algorithm = algorithm [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JCEPBEKey.java | 15 String algorithm; field in class:JCEPBEKey 29 String algorithm, 38 this.algorithm = algorithm; 50 return algorithm;
|