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

12 3 4 5 6 7 8 91011>>

  /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...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
DigestAlgorithmProvider.java 12 String algorithm,
16 String mainName = "HMAC" + algorithm;
19 provider.addAlgorithm("Alg.Alias.Mac.HMAC-" + algorithm, mainName);
20 provider.addAlgorithm("Alg.Alias.Mac.HMAC/" + algorithm, mainName);
22 provider.addAlgorithm("Alg.Alias.KeyGenerator.HMAC-" + algorithm, mainName);
23 provider.addAlgorithm("Alg.Alias.KeyGenerator.HMAC/" + algorithm, mainName);
28 String algorithm,
31 String mainName = "HMAC" + algorithm;
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
AesKeyGenParams.h 34 #include "modules/crypto/Algorithm.h"
39 class AesKeyGenParams : public Algorithm {
41 static PassRefPtr<AesKeyGenParams> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new AesKeyGenParams(algorithm)); }
AesCbcParams.cpp 47 AesCbcParams::AesCbcParams(const WebKit::WebCryptoAlgorithm& algorithm)
48 : Algorithm(algorithm)
50 ASSERT(algorithm.aesCbcParams());
HmacParams.cpp 38 Algorithm* HmacParams::hash()
41 m_hash = Algorithm::create(m_algorithm.hmacParams()->hash());
45 HmacParams::HmacParams(const WebKit::WebCryptoAlgorithm& algorithm)
46 : Algorithm(algorithm)
48 ASSERT(algorithm.hmacParams());
RsaSsaParams.cpp 38 Algorithm* RsaSsaParams::hash()
41 m_hash = Algorithm::create(m_algorithm.rsaSsaParams()->hash());
45 RsaSsaParams::RsaSsaParams(const WebKit::WebCryptoAlgorithm& algorithm)
46 : Algorithm(algorithm)
48 ASSERT(algorithm.rsaSsaParams());
RsaKeyGenParams.cpp 52 RsaKeyGenParams::RsaKeyGenParams(const WebKit::WebCryptoAlgorithm& algorithm)
53 : Algorithm(algorithm)
55 ASSERT(algorithm.rsaKeyGenParams());
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/
replace.hpp 14 #include <boost/algorithm/string/config.hpp>
22 #include <boost/algorithm/string/find_format.hpp>
23 #include <boost/algorithm/string/finder.hpp>
24 #include <boost/algorithm/string/formatter.hpp>
25 #include <boost/algorithm/string/compare.hpp>
28 Defines various replace algorithms. Each algorithm replaces
33 namespace algorithm { namespace in namespace:boost
37 //! Replace range algorithm
64 return ::boost::algorithm::find_format_copy(
67 ::boost::algorithm::range_finder(SearchRange)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
JcaJceHelper.java 24 String algorithm)
27 Mac createMac(String algorithm)
30 KeyAgreement createKeyAgreement(String algorithm)
33 AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm)
36 AlgorithmParameters createAlgorithmParameters(String algorithm)
39 KeyGenerator createKeyGenerator(String algorithm)
42 KeyFactory createKeyFactory(String algorithm)
45 SecretKeyFactory createSecretKeyFactory(String algorithm)
48 KeyPairGenerator createKeyPairGenerator(String algorithm)
51 MessageDigest createDigest(String algorithm)
    [all...]
  /libcore/crypto/src/main/java/org/conscrypt/
X509PublicKey.java 24 * the appropriate KeyFactory for the key algorithm is not available.
29 private final String algorithm; field in class:X509PublicKey
33 public X509PublicKey(String algorithm, byte[] encoded) {
34 this.algorithm = algorithm;
40 return algorithm;
55 return "X509PublicKey [algorithm=" + algorithm + ", encoded=" + Arrays.toString(encoded)
63 result = prime * result + ((algorithm == null) ? 0 : algorithm.hashCode())
    [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 51 // Store algorithm name
52 private final String algorithm; field in class:CertPathBuilder
61 * @param algorithm
62 * the desired algorithm available at the provider.
65 String algorithm) {
67 this.algorithm = algorithm;
72 * Returns the algorithm name of this instance.
74 * @return the algorithm name of this instance.
77 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...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
openssldigest.cc 36 OpenSSLDigest::OpenSSLDigest(const std::string& algorithm) {
38 if (GetDigestEVP(algorithm, &md_)) {
74 bool OpenSSLDigest::GetDigestEVP(const std::string& algorithm,
77 if (algorithm == DIGEST_MD5) {
79 } else if (algorithm == DIGEST_SHA_1) {
82 } else if (algorithm == DIGEST_SHA_224) {
84 } else if (algorithm == DIGEST_SHA_256) {
86 } else if (algorithm == DIGEST_SHA_384) {
88 } else if (algorithm == DIGEST_SHA_512) {
101 bool OpenSSLDigest::GetDigestSize(const std::string& algorithm,
    [all...]
sslfingerprint.h 44 static SSLFingerprint* Create(const std::string& algorithm,
53 algorithm, digest_val, sizeof(digest_val), &digest_len);
58 return new SSLFingerprint(algorithm, digest_val, digest_len);
61 static SSLFingerprint* CreateFromRfc4572(const std::string& algorithm,
63 if (algorithm.empty())
78 return new SSLFingerprint(algorithm,
83 SSLFingerprint(const std::string& algorithm, const uint8* digest_in,
84 size_t digest_len) : algorithm(algorithm) {
88 : algorithm(from.algorithm), digest(from.digest) {
103 std::string algorithm; member in struct:talk_base::SSLFingerprint
    [all...]
openssldigest.h 40 // Creates an OpenSSLDigest with |algorithm| as the hash algorithm.
41 explicit OpenSSLDigest(const std::string& algorithm);
51 static bool GetDigestEVP(const std::string &algorithm,
54 static bool GetDigestSize(const std::string &algorithm,
  /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/main/java/javax/net/ssl/
KeyManagerFactory.java 41 private static final String PROPERTY_NAME = "ssl.KeyManagerFactory.algorithm";
47 * Returns the default key manager factory algorithm name.
49 * The default algorithm name is specified by the security property:
50 * {@code 'ssl.KeyManagerFactory.algorithm'}.
52 * @return the default algorithm name.
55 String algorithm = Security.getProperty(PROPERTY_NAME); local
56 return (algorithm != null ? algorithm : DEFAULT_PROPERTY);
61 * management algorithm.
63 * @param algorithm
147 private final String algorithm; field in class:KeyManagerFactory
    [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()
194 String algorithm = md.getAlgorithm(); local
    [all...]
  /external/chromium_org/chrome/browser/ui/views/frame/
system_menu_insertion_delegate_win.cc 9 #include <algorithm>

Completed in 605 milliseconds

12 3 4 5 6 7 8 91011>>