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

1 2 3

  /external/chromium_org/third_party/WebKit/public/platform/
WebCryptoKey.h 73 // The WebCryptoKey represents a key from the Web Crypto API:
77 // WebCryptoKey is just a reference-counted wrapper that manages the lifetime of
80 // WebCryptoKey is:
88 // If WebCryptoKey "isNull()" then it is invalid to call any of the other
90 class WebCryptoKey {
92 ~WebCryptoKey() { reset(); }
94 WebCryptoKey(const WebCryptoKey& other) { assign(other); }
95 WebCryptoKey& operator=(const WebCryptoKey& other
    [all...]
WebCrypto.h 36 #include "WebCryptoKey.h"
94 BLINK_PLATFORM_EXPORT void completeWithKey(const WebCryptoKey&);
95 BLINK_PLATFORM_EXPORT void completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey);
168 // * WebCryptoKey and WebCryptoAlgorithm ARE threadsafe. They can be
208 virtual void encrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
209 virtual void decrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
210 virtual void sign(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
211 virtual void verifySignature(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* signature, unsigned signatureSize, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
215 virtual void exportKey(WebCryptoKeyFormat, const WebCryptoKey&, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, "");
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WebCryptoKey.cpp 32 #include "public/platform/WebCryptoKey.h"
61 WebCryptoKey WebCryptoKey::create(WebCryptoKeyHandle* handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages)
63 WebCryptoKey key;
68 WebCryptoKey WebCryptoKey::createNull()
70 return WebCryptoKey();
73 WebCryptoKeyHandle* WebCryptoKey::handle() const
79 WebCryptoKeyType WebCryptoKey::type() const
85 bool WebCryptoKey::extractable() cons
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/
CryptoResult.h 48 virtual void completeWithKey(const WebCryptoKey&) = 0;
49 virtual void completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey) = 0;
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
CryptoKey.h 37 #include "public/platform/WebCryptoKey.h"
49 static CryptoKey* create(const WebCryptoKey& key)
60 const WebCryptoKey& key() const { return m_key; }
73 explicit CryptoKey(const WebCryptoKey&);
75 const WebCryptoKey m_key;
CryptoResultImpl.h 66 virtual void completeWithKey(const WebCryptoKey&) OVERRIDE;
67 virtual void completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey) OVERRIDE;
  /external/chromium_org/content/child/webcrypto/
algorithm_implementation.h 46 const blink::WebCryptoKey& key,
52 const blink::WebCryptoKey& key,
58 const blink::WebCryptoKey& key,
64 const blink::WebCryptoKey& key,
83 blink::WebCryptoKey* key) const;
98 blink::WebCryptoKey* public_key,
99 blink::WebCryptoKey* private_key) const;
127 blink::WebCryptoKey* key) const;
135 blink::WebCryptoKey* key) const;
143 blink::WebCryptoKey* key) const
    [all...]
structured_clone.h 19 bool SerializeKeyForClone(const blink::WebCryptoKey& key,
28 blink::WebCryptoKey* key);
algorithm_dispatch.h 32 const blink::WebCryptoKey& key,
37 const blink::WebCryptoKey& key,
49 blink::WebCryptoKey* key);
55 blink::WebCryptoKey* public_key,
56 blink::WebCryptoKey* private_key);
63 blink::WebCryptoKey* key);
66 const blink::WebCryptoKey& key,
70 const blink::WebCryptoKey& key,
75 const blink::WebCryptoKey& key,
82 const blink::WebCryptoKey& key_to_wrap
    [all...]
algorithm_implementation.cc 18 const blink::WebCryptoKey& key,
26 const blink::WebCryptoKey& key,
33 const blink::WebCryptoKey& key,
41 const blink::WebCryptoKey& key,
72 blink::WebCryptoKey* key) const {
81 blink::WebCryptoKey* public_key,
82 blink::WebCryptoKey* private_key) const {
97 blink::WebCryptoKey* key) const {
106 blink::WebCryptoKey* key) const {
115 blink::WebCryptoKey* key) const
    [all...]
webcrypto_impl.h 29 const blink::WebCryptoKey& key,
34 const blink::WebCryptoKey& key,
54 const blink::WebCryptoKey& key,
57 const blink::WebCryptoKey& key,
62 const blink::WebCryptoKey& key,
69 const blink::WebCryptoKey& key,
70 const blink::WebCryptoKey& wrapping_key,
77 const blink::WebCryptoKey& wrapping_key,
100 blink::WebCryptoKey& key);
102 virtual bool serializeKeyForClone(const blink::WebCryptoKey& key
    [all...]
algorithm_dispatch.cc 23 const blink::WebCryptoKey& key,
38 const blink::WebCryptoKey& key,
53 const blink::WebCryptoKey& key,
77 const blink::WebCryptoKey& key,
86 const blink::WebCryptoKey& key,
108 blink::WebCryptoKey* key) {
124 blink::WebCryptoKey* public_key,
125 blink::WebCryptoKey* private_key) {
152 blink::WebCryptoKey* key) {
181 const blink::WebCryptoKey& key
    [all...]
platform_crypto.h 35 bool PlatformSerializeKeyForClone(const blink::WebCryptoKey& key,
  /external/chromium_org/content/child/webcrypto/openssl/
sym_key_openssl.cc 24 blink::WebCryptoKey* key) {
35 blink::WebCryptoKey::create(new SymKeyOpenSsl(CryptoData(random_bytes)),
47 blink::WebCryptoKey* key) {
48 *key = blink::WebCryptoKey::create(new SymKeyOpenSsl(key_data),
rsa_key_openssl.h 51 blink::WebCryptoKey* public_key,
52 blink::WebCryptoKey* private_key) const OVERRIDE;
62 blink::WebCryptoKey* key) const OVERRIDE;
68 blink::WebCryptoKey* key) const OVERRIDE;
74 blink::WebCryptoKey* key) const OVERRIDE;
76 virtual Status ExportKeyPkcs8(const blink::WebCryptoKey& key,
79 virtual Status ExportKeySpki(const blink::WebCryptoKey& key,
82 virtual Status ExportKeyJwk(const blink::WebCryptoKey& key,
sym_key_openssl.h 21 blink::WebCryptoKey* key);
27 blink::WebCryptoKey* key);
aes_key_openssl.h 37 blink::WebCryptoKey* key) const OVERRIDE;
47 blink::WebCryptoKey* key) const OVERRIDE;
53 blink::WebCryptoKey* key) const OVERRIDE;
55 virtual Status ExportKeyRaw(const blink::WebCryptoKey& key,
58 virtual Status ExportKeyJwk(const blink::WebCryptoKey& key,
  /external/chromium_org/content/child/webcrypto/nss/
rsa_key_nss.h 56 blink::WebCryptoKey* public_key,
57 blink::WebCryptoKey* private_key) const OVERRIDE;
67 blink::WebCryptoKey* key) const OVERRIDE;
73 blink::WebCryptoKey* key) const OVERRIDE;
75 virtual Status ExportKeyPkcs8(const blink::WebCryptoKey& key,
78 virtual Status ExportKeySpki(const blink::WebCryptoKey& key,
85 blink::WebCryptoKey* key) const OVERRIDE;
87 virtual Status ExportKeyJwk(const blink::WebCryptoKey& key,
sym_key_nss.h 24 blink::WebCryptoKey* key);
32 blink::WebCryptoKey* key);
aes_key_nss.h 45 blink::WebCryptoKey* key) const OVERRIDE;
55 blink::WebCryptoKey* key) const OVERRIDE;
61 blink::WebCryptoKey* key) const OVERRIDE;
63 virtual Status ExportKeyRaw(const blink::WebCryptoKey& key,
66 virtual Status ExportKeyJwk(const blink::WebCryptoKey& key,
key_nss.cc 39 SymKeyNss* SymKeyNss::Cast(const blink::WebCryptoKey& key) {
56 PublicKeyNss* PublicKeyNss::Cast(const blink::WebCryptoKey& key) {
73 PrivateKeyNss* PrivateKeyNss::Cast(const blink::WebCryptoKey& key) {
87 bool PlatformSerializeKeyForClone(const blink::WebCryptoKey& key,
sym_key_nss.cc 25 blink::WebCryptoKey* key) {
48 *key = blink::WebCryptoKey::create(handle.release(),
62 blink::WebCryptoKey* key) {
81 *key = blink::WebCryptoKey::create(handle.release(),
  /external/chromium_org/content/child/webcrypto/test/
aes_cbc_unittest.cc 34 blink::WebCryptoKey GetTestAesCbcKey() {
36 blink::WebCryptoKey key = ImportSecretKeyFromRaw(
113 blink::WebCryptoKey key = blink::WebCryptoKey::createNull();
137 blink::WebCryptoKey key = blink::WebCryptoKey::createNull();
170 blink::WebCryptoKey key = ImportSecretKeyFromRaw(
217 blink::WebCryptoKey key = ImportSecretKeyFromRaw(
257 blink::WebCryptoKey key = blink::WebCryptoKey::createNull()
    [all...]
rsa_oaep_unittest.cc 50 blink::WebCryptoKey private_key = blink::WebCryptoKey::createNull();
70 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull();
90 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull();
110 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull();
131 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull()
    [all...]
aes_kw_unittest.cc 28 blink::WebCryptoKey key = blink::WebCryptoKey::createNull();
38 blink::WebCryptoKey key = blink::WebCryptoKey::createNull();
90 blink::WebCryptoKey key = blink::WebCryptoKey::createNull();
183 blink::WebCryptoKey unwrapped_key = blink::WebCryptoKey::createNull();
187 blink::WebCryptoKey wrapping_key =
218 blink::WebCryptoKey wrapping_key = ImportSecretKeyFromRaw
    [all...]

Completed in 56 milliseconds

1 2 3