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

12 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/java/security/
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 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...]
SecureRandom.java 35 * compatible with the SHA1PRNG algorithm on the reference
39 * <p>The default algorithm is defined by the first {@code SecureRandomSpi}
47 * algorithm must be secure.
81 private final String algorithm; field in class:SecureRandom
87 * Constructs a new {@code SecureRandom} that uses the default algorithm.
96 this.algorithm = "SHA1PRNG";
101 this.algorithm = service.getAlgorithm();
110 * algorithm. <a href="#insecure_seed">Seeding {@code SecureRandom} may be
135 String algorithm) {
138 this.algorithm = algorithm
    [all...]
Signature.java 47 // The algorithm.
48 private String algorithm; field in class:Signature
77 * the algorithm to use.
79 * @param algorithm
80 * the name of algorithm to use.
82 protected Signature(String algorithm) {
83 this.algorithm = algorithm;
88 * algorithm.
90 * @param 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...]
  /libcore/luni/src/main/java/javax/crypto/
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...]
Mac.java 47 // Store used algorithm name
48 private final String algorithm; field in class:Mac
60 * @param algorithm
61 * the name of the MAC algorithm.
63 protected Mac(MacSpi macSpi, Provider provider, String algorithm) {
65 this.algorithm = algorithm;
71 * Returns the name of the MAC algorithm.
73 * @return the name of the MAC algorithm.
76 return algorithm;
    [all...]
ExemptionMechanism.java 88 * specified exemption mechanism algorithm.
90 * @param algorithm
94 * if the specified algorithm is not available by any provider.
96 * if the algorithm parameter is {@code null}.
98 public static final ExemptionMechanism getInstance(String algorithm)
100 if (algorithm == null) {
103 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null);
104 return new ExemptionMechanism((ExemptionMechanismSpi) sap.spi, sap.provider, algorithm);
109 * specified exemption mechanism algorithm from the specified provider.
111 * @param algorithm
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
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
51 /** the value of algorithm field */
52 private String algorithm; field in class:AlgorithmIdentifier
53 /** the name of the algorithm */
60 public AlgorithmIdentifier(String algorithm) {
61 this(algorithm, null, null);
64 public AlgorithmIdentifier(String algorithm, byte[] parameters) {
65 this(algorithm, parameters, null)
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/
KeyPairGeneratorTest.java 43 String algorithm = service.getAlgorithm(); local
46 KeyPairGenerator kpg1 = KeyPairGenerator.getInstance(algorithm);
47 assertEquals(algorithm, kpg1.getAlgorithm());
51 KeyPairGenerator kpg2 = KeyPairGenerator.getInstance(algorithm, provider);
52 assertEquals(algorithm, kpg2.getAlgorithm());
57 KeyPairGenerator kpg3 = KeyPairGenerator.getInstance(algorithm,
59 assertEquals(algorithm, kpg3.getAlgorithm());
63 throw new Exception("Problem testing KeyPairGenerator." + algorithm, e);
71 private static void putKeySize(String algorithm, int keySize) {
72 algorithm = algorithm.toUpperCase()
107 String algorithm = kpg.getAlgorithm(); local
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
KeyGeneratorTest.java 47 String algorithm = service.getAlgorithm(); local
50 KeyGenerator kg1 = KeyGenerator.getInstance(algorithm);
51 assertEquals(algorithm, kg1.getAlgorithm());
55 KeyGenerator kg2 = KeyGenerator.getInstance(algorithm, provider);
56 assertEquals(algorithm, kg2.getAlgorithm());
61 KeyGenerator kg3 = KeyGenerator.getInstance(algorithm, provider.getName());
62 assertEquals(algorithm, kg3.getAlgorithm());
66 throw new Exception("Problem testing KeyPairGenerator." + algorithm, e);
74 private static void putKeySize(String algorithm, int keySize) {
75 algorithm = algorithm.toUpperCase()
136 String algorithm = kg.getAlgorithm(); local
    [all...]
  /external/stlport/test/unit/
_template.cpp 2 #include <algorithm>
  /ndk/tests/device/test-gnustl-full/unit/
_template.cpp 2 #include <algorithm>
  /ndk/tests/device/test-stlport/unit/
_template.cpp 2 #include <algorithm>
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MyMessageDigest1.java 43 * @param algorithm
45 public MyMessageDigest1(String algorithm) {
46 super(algorithm);
MyKeyPairGenerator1.java 94 private String algorithm; field in class:MyKeyPairGenerator1.PubKey
101 this.algorithm = "MyKeyPairGenerator1";
107 return algorithm;
120 private String algorithm; field in class:MyKeyPairGenerator1.PrivKey
127 this.algorithm = "MyKeyPairGenerator1";
133 return algorithm;
  /external/chromium/crypto/
secure_hash_default.cc 39 SecureHash* SecureHash::Create(Algorithm algorithm) {
40 switch (algorithm) {
symmetric_key_openssl.cc 10 #include <algorithm>
24 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm,
26 DCHECK_EQ(AES, algorithm);
43 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
48 DCHECK(algorithm == AES || algorithm == HMAC_SHA1);
64 SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
    [all...]
secure_hash_openssl.cc 43 SecureHash* SecureHash::Create(Algorithm algorithm) {
44 switch (algorithm) {
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyMessageDigest1.java 44 * @param algorithm
46 public MyMessageDigest1(String algorithm) {
47 super(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;
SpiEngUtils.java 41 * Verification: is algorithm supported or not
43 * @param algorithm
47 public static Provider isSupport(String algorithm, String service) {
50 .concat(algorithm));
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/
EC.java 100 String algorithm,
104 String mainName = digest + "WITH" + algorithm;
105 String jdk11Variation1 = digest + "with" + algorithm;
106 String jdk11Variation2 = digest + "With" + algorithm;
107 String alias = digest + "/" + algorithm;
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator5Test.java 35 protected MockKeyPairGenerator(String algorithm) {
36 super(algorithm);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
MessageDigest2Test.java 67 for (String algorithm : algorithms) {
68 MessageDigestStub md = new MessageDigestStub(algorithm);
69 assertEquals(algorithm, md.getAlgorithm());
81 for (String algorithm : e.getValue()) {
82 MessageDigest d1 = MessageDigest.getInstance(algorithm, e.getKey().getName());
91 assertTrue("cloned hash differs from original for algorithm " + algorithm,
243 for (String algorithm : e.getValue()) {
244 MessageDigest digest = MessageDigest.getInstance(algorithm, e.getKey().getName());
256 for (String algorithm : e.getValue())
445 String algorithm = (String) key; local
    [all...]

Completed in 2641 milliseconds

12 3 4 5 6 7 8 91011>>