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

1 2

  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
AesKeyGenParams.h 35 #include "public/platform/WebCryptoAlgorithm.h"
41 static PassRefPtr<AesKeyGenParams> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new AesKeyGenParams(algorithm)); }
46 explicit AesKeyGenParams(const WebKit::WebCryptoAlgorithm&);
Algorithm.h 35 #include "public/platform/WebCryptoAlgorithm.h"
44 static PassRefPtr<Algorithm> create(const WebKit::WebCryptoAlgorithm&);
51 explicit Algorithm(const WebKit::WebCryptoAlgorithm&);
53 const WebKit::WebCryptoAlgorithm m_algorithm;
AesCbcParams.h 41 static PassRefPtr<AesCbcParams> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new AesCbcParams(algorithm)); }
46 explicit AesCbcParams(const WebKit::WebCryptoAlgorithm&);
HmacParams.h 41 static PassRefPtr<HmacParams> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new HmacParams(algorithm)); }
46 explicit HmacParams(const WebKit::WebCryptoAlgorithm&);
NormalizeAlgorithm.h 36 namespace WebKit { class WebCryptoAlgorithm; }
58 // Normalizes an algorithm identifier (dictionary) into a WebCryptoAlgorithm. If
60 bool normalizeAlgorithm(const Dictionary&, AlgorithmOperation, WebKit::WebCryptoAlgorithm&, ExceptionState&) WARN_UNUSED_RETURN;
RsaKeyGenParams.h 35 #include "public/platform/WebCryptoAlgorithm.h"
42 static PassRefPtr<RsaKeyGenParams> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new RsaKeyGenParams(algorithm)); }
48 explicit RsaKeyGenParams(const WebKit::WebCryptoAlgorithm&);
RsaSsaParams.h 41 static PassRefPtr<RsaSsaParams> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new RsaSsaParams(algorithm)); }
46 explicit RsaSsaParams(const WebKit::WebCryptoAlgorithm&);
AesKeyGenParams.cpp 43 AesKeyGenParams::AesKeyGenParams(const WebKit::WebCryptoAlgorithm& algorithm)
Algorithm.cpp 43 PassRefPtr<Algorithm> Algorithm::create(const WebKit::WebCryptoAlgorithm& algorithm)
63 Algorithm::Algorithm(const WebKit::WebCryptoAlgorithm& algorithm)
AesCbcParams.cpp 47 AesCbcParams::AesCbcParams(const WebKit::WebCryptoAlgorithm& algorithm)
HmacParams.cpp 45 HmacParams::HmacParams(const WebKit::WebCryptoAlgorithm& algorithm)
RsaSsaParams.cpp 45 RsaSsaParams::RsaSsaParams(const WebKit::WebCryptoAlgorithm& algorithm)
RsaKeyGenParams.cpp 52 RsaKeyGenParams::RsaKeyGenParams(const WebKit::WebCryptoAlgorithm& algorithm)
CryptoOperation.h 38 #include "public/platform/WebCryptoAlgorithm.h"
125 static PassRefPtr<CryptoOperation> create(const WebKit::WebCryptoAlgorithm&, CryptoOperationImpl*);
138 explicit CryptoOperation(const WebKit::WebCryptoAlgorithm&, CryptoOperationImpl*);
140 WebKit::WebCryptoAlgorithm m_algorithm;
NormalizeAlgorithm.cpp 37 #include "public/platform/WebCryptoAlgorithm.h"
185 bool parseHash(const Dictionary& raw, WebKit::WebCryptoAlgorithm& hash)
197 WebKit::WebCryptoAlgorithm hash;
205 WebKit::WebCryptoAlgorithm hash;
273 bool normalizeAlgorithm(const Dictionary& raw, AlgorithmOperation op, WebKit::WebCryptoAlgorithm& algorithm, ExceptionState& es)
292 algorithm = WebKit::WebCryptoAlgorithm(info->algorithmId, info->algorithmName, params.release());
  /external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/
WebCryptoAlgorithm.cpp 32 #include "public/platform/WebCryptoAlgorithm.h"
54 WebCryptoAlgorithm::WebCryptoAlgorithm(WebCryptoAlgorithmId id, const char* name, PassOwnPtr<WebCryptoAlgorithmParams> params)
59 WebCryptoAlgorithm WebCryptoAlgorithm::adoptParamsAndCreate(WebCryptoAlgorithmId id, const char* name, WebCryptoAlgorithmParams* params)
61 return WebCryptoAlgorithm(id, name, adoptPtr(params));
64 WebCryptoAlgorithmId WebCryptoAlgorithm::id() const
69 const char* WebCryptoAlgorithm::name() const
74 WebCryptoAlgorithmParamsType WebCryptoAlgorithm::paramsType() const
81 WebCryptoAesCbcParams* WebCryptoAlgorithm::aesCbcParams() cons
    [all...]
WebCryptoKey.cpp 34 #include "public/platform/WebCryptoAlgorithm.h"
42 WebCryptoKeyPrivate(PassOwnPtr<WebCryptoKeyHandle> handle, WebCryptoKeyType type, bool extractable, const WebCryptoAlgorithm& algorithm, WebCryptoKeyUsageMask usages)
54 const WebCryptoAlgorithm algorithm;
58 WebCryptoKey WebCryptoKey::create(WebCryptoKeyHandle* handle, WebCryptoKeyType type, bool extractable, const WebCryptoAlgorithm& algorithm, WebCryptoKeyUsageMask usages)
80 const WebCryptoAlgorithm& WebCryptoKey::algorithm() const
  /external/chromium_org/third_party/WebKit/Source/testing/runner/
MockWebCrypto.h 43 virtual void encrypt(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, WebKit::WebCryptoOperationResult&) OVERRIDE;
44 virtual void decrypt(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, WebKit::WebCryptoOperationResult&) OVERRIDE;
45 virtual void sign(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, WebKit::WebCryptoOperationResult&) OVERRIDE;
46 virtual void verifySignature(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, const unsigned char*, size_t, WebKit::WebCryptoOperationResult&) OVERRIDE;
47 virtual void digest(const WebKit::WebCryptoAlgorithm&, WebKit::WebCryptoOperationResult&) OVERRIDE;
48 virtual void generateKey(const WebKit::WebCryptoAlgorithm&, bool extractable, WebKit::WebCryptoKeyUsageMask, WebKit::WebCryptoKeyOperationResult&) OVERRIDE;
49 virtual void importKey(WebKit::WebCryptoKeyFormat, const unsigned char* keyData, size_t keyDataSize, const WebKit::WebCryptoAlgorithm&, bool extractable, WebKit::WebCryptoKeyUsageMask, WebKit::WebCryptoKeyOperationResult&) OVERRIDE;
MockWebCrypto.cpp 34 #include "public/platform/WebCryptoAlgorithm.h"
54 MockCryptoOperation(const WebKit::WebCryptoAlgorithm& algorithm, Operation op, const WebKit::WebCryptoOperationResult& result)
117 WebKit::WebCryptoAlgorithm m_algorithm;
132 void MockWebCrypto::encrypt(const WebKit::WebCryptoAlgorithm& algorithm, const WebKit::WebCryptoKey& key, WebKit::WebCryptoOperationResult& result)
137 void MockWebCrypto::decrypt(const WebKit::WebCryptoAlgorithm& algorithm, const WebKit::WebCryptoKey& key, WebKit::WebCryptoOperationResult& result)
142 void MockWebCrypto::sign(const WebKit::WebCryptoAlgorithm& algorithm, const WebKit::WebCryptoKey& key, WebKit::WebCryptoOperationResult& result)
147 void MockWebCrypto::verifySignature(const WebKit::WebCryptoAlgorithm& algorithm, const WebKit::WebCryptoKey& key, const unsigned char* signature, size_t signatureLength, WebKit::WebCryptoOperationResult& result)
154 void MockWebCrypto::digest(const WebKit::WebCryptoAlgorithm& algorithm, WebKit::WebCryptoOperationResult& result)
159 void MockWebCrypto::generateKey(const WebKit::WebCryptoAlgorithm& algorithm, bool extractable, WebKit::WebCryptoKeyUsageMask usages, WebKit::WebCryptoKeyOperationResult& result)
164 void MockWebCrypto::importKey(WebKit::WebCryptoKeyFormat, const unsigned char* keyData, size_t keyDataSize, const WebKit::WebCryptoAlgorithm& algorithm, bool extractable, WebKit::WebCryptoKeyUsageMask usages, WebKit::WebCryptoKeyOperationR (…)
    [all...]
  /external/chromium_org/third_party/WebKit/public/platform/
WebCryptoAlgorithm.h 75 // The WebCryptoAlgorithm represents a normalized algorithm and its parameters.
79 class WebCryptoAlgorithm {
82 WebCryptoAlgorithm() { }
83 WebCryptoAlgorithm(WebCryptoAlgorithmId, const char* name, PassOwnPtr<WebCryptoAlgorithmParams>);
86 WEBKIT_EXPORT static WebCryptoAlgorithm adoptParamsAndCreate(WebCryptoAlgorithmId, const char* name, WebCryptoAlgorithmParams*);
88 ~WebCryptoAlgorithm() { reset(); }
90 WebCryptoAlgorithm(const WebCryptoAlgorithm& other) { assign(other); }
91 WebCryptoAlgorithm& operator=(const WebCryptoAlgorithm& other
    [all...]
WebCryptoAlgorithmParams.h 35 #include "WebCryptoAlgorithm.h"
92 explicit WebCryptoHmacParams(const WebCryptoAlgorithm& hash)
98 const WebCryptoAlgorithm& hash() const { return m_hash; }
101 WebCryptoAlgorithm m_hash;
106 explicit WebCryptoRsaSsaParams(const WebCryptoAlgorithm& hash)
112 const WebCryptoAlgorithm& hash() const { return m_hash; }
115 WebCryptoAlgorithm m_hash;
WebCryptoKey.h 68 class WebCryptoAlgorithm;
106 WEBKIT_EXPORT static WebCryptoKey create(WebCryptoKeyHandle*, WebCryptoKeyType, bool extractable, const WebCryptoAlgorithm&, WebCryptoKeyUsageMask);
115 WEBKIT_EXPORT const WebCryptoAlgorithm& algorithm() const;
WebCrypto.h 49 virtual WebCryptoOperation* digest(const WebCryptoAlgorithm&) { WEBKIT_ASSERT_NOT_REACHED(); return 0; }
89 virtual void encrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, WebCryptoOperationResult&) { WEBKIT_ASSERT_NOT_REACHED(); }
90 virtual void decrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, WebCryptoOperationResult&) { WEBKIT_ASSERT_NOT_REACHED(); }
91 virtual void sign(const WebCryptoAlgorithm&, const WebCryptoKey&, WebCryptoOperationResult&) { WEBKIT_ASSERT_NOT_REACHED(); }
92 virtual void verifySignature(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* signature, size_t, WebCryptoOperationResult&) { WEBKIT_ASSERT_NOT_REACHED(); }
93 virtual void digest(const WebCryptoAlgorithm&, WebCryptoOperationResult&) { WEBKIT_ASSERT_NOT_REACHED(); }
125 virtual void generateKey(const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, WebCryptoKeyOperationResult&) { WEBKIT_ASSERT_NOT_REACHED(); }
126 virtual void importKey(WebCryptoKeyFormat, const unsigned char* keyData, size_t keyDataSize, const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, WebCryptoKeyOperationResult&) { WEBKIT_ASSERT_NOT_REACHED(); }
  /external/chromium_org/content/renderer/
webcrypto_impl.h 17 const WebKit::WebCryptoAlgorithm& algorithm) OVERRIDE;
webcrypto_impl.cc 7 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h"
12 const WebKit::WebCryptoAlgorithm& algorithm) {

Completed in 181 milliseconds

1 2