| /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" 98 BLINK_PLATFORM_EXPORT void completeWithKey(const WebCryptoKey&); 99 BLINK_PLATFORM_EXPORT void completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey); 172 // * WebCryptoKey and WebCryptoAlgorithm ARE threadsafe. They can be 212 virtual void encrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } 213 virtual void decrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } 214 virtual void sign(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } 215 virtual void verifySignature(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* signature, unsigned signatureSize, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } 219 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...] |
| WebCryptoResult.cpp | 74 void WebCryptoResult::completeWithKey(const WebCryptoKey& key) 81 void WebCryptoResult::completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey)
|
| /external/chromium_org/third_party/WebKit/Source/platform/ |
| CryptoResult.h | 48 virtual void completeWithKey(const blink::WebCryptoKey&) = 0; 49 virtual void completeWithKeyPair(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey) = 0;
|
| blink_platform.target.darwin-arm.mk | 162 third_party/WebKit/Source/platform/exported/WebCryptoKey.cpp \ [all...] |
| blink_platform.target.darwin-arm64.mk | 161 third_party/WebKit/Source/platform/exported/WebCryptoKey.cpp \ [all...] |
| blink_platform.target.darwin-mips.mk | 161 third_party/WebKit/Source/platform/exported/WebCryptoKey.cpp \ [all...] |
| blink_platform.target.darwin-x86.mk | 161 third_party/WebKit/Source/platform/exported/WebCryptoKey.cpp \ [all...] |
| blink_platform.target.darwin-x86_64.mk | 161 third_party/WebKit/Source/platform/exported/WebCryptoKey.cpp \ [all...] |
| /external/chromium_org/content/child/webcrypto/ |
| jwk.h | 26 blink::WebCryptoKey* key); 28 Status ExportKeyJwk(const blink::WebCryptoKey& key, std::vector<uint8>* buffer);
|
| shared_crypto.h | 81 const blink::WebCryptoKey& key, 86 const blink::WebCryptoKey& key, 101 blink::WebCryptoKey* key); 107 blink::WebCryptoKey* public_key, 108 blink::WebCryptoKey* private_key); 115 blink::WebCryptoKey* key); 118 const blink::WebCryptoKey& key, 122 const blink::WebCryptoKey& key, 128 const blink::WebCryptoKey& key, 135 const blink::WebCryptoKey& key_to_wrap [all...] |
| webcrypto_impl.h | 31 const blink::WebCryptoKey& key, 36 const blink::WebCryptoKey& key, 56 const blink::WebCryptoKey& key, 59 const blink::WebCryptoKey& key, 64 const blink::WebCryptoKey& key, 71 const blink::WebCryptoKey& key, 72 const blink::WebCryptoKey& wrapping_key, 79 const blink::WebCryptoKey& wrapping_key, 102 blink::WebCryptoKey& key); 104 virtual bool serializeKeyForClone(const blink::WebCryptoKey& key [all...] |
| shared_crypto_unittest.cc | 28 #include "third_party/WebKit/public/platform/WebCryptoKey.h" 108 blink::WebCryptoKey key = blink::WebCryptoKey::createNull(); 453 blink::WebCryptoKey ImportSecretKeyFromRaw( 457 blink::WebCryptoKey key = blink::WebCryptoKey::createNull(); 482 blink::WebCryptoKey* public_key, 483 blink::WebCryptoKey* private_key) { 513 Status AesGcmEncrypt(const blink::WebCryptoKey& key, 550 Status AesGcmDecrypt(const blink::WebCryptoKey& key [all...] |
| shared_crypto.cc | 16 #include "third_party/WebKit/public/platform/WebCryptoKey.h" 36 // TODO(eroman): Move this helper to WebCryptoKey. 37 bool KeyUsageAllows(const blink::WebCryptoKey& key, 56 const blink::WebCryptoKey& key, 77 const blink::WebCryptoKey& key, 109 const blink::WebCryptoKey& key, 129 const blink::WebCryptoKey& key, 149 const blink::WebCryptoKey& key, 162 const blink::WebCryptoKey& key, 181 const blink::WebCryptoKey& key [all...] |
| webcrypto_impl.cc | 64 // * WebCryptoAlgorithm and WebCryptoKey are threadsafe (however the key's 128 const blink::WebCryptoKey& key, 190 const blink::WebCryptoKey& key, 200 const blink::WebCryptoKey key; 218 public_key(blink::WebCryptoKey::createNull()), 219 private_key(blink::WebCryptoKey::createNull()), 228 blink::WebCryptoKey public_key; 229 blink::WebCryptoKey private_key; 247 key(blink::WebCryptoKey::createNull()) {} 255 blink::WebCryptoKey key [all...] |
| platform_crypto.h | 166 blink::WebCryptoKey* key); 181 blink::WebCryptoKey* public_key, 182 blink::WebCryptoKey* private_key); 194 blink::WebCryptoKey* key); 204 blink::WebCryptoKey* key); 223 blink::WebCryptoKey* key); 232 blink::WebCryptoKey* key); 241 blink::WebCryptoKey* key);
|
| platform_crypto_openssl.cc | 277 blink::WebCryptoKey* key) { 292 *key = blink::WebCryptoKey::create(new SymKey(CryptoData(random_bytes)), 307 blink::WebCryptoKey* public_key, 308 blink::WebCryptoKey* private_key) { 318 blink::WebCryptoKey* key) { 325 *key = blink::WebCryptoKey::create(new SymKey(key_data), 378 blink::WebCryptoKey* key) { 395 blink::WebCryptoKey* key) { 451 blink::WebCryptoKey* key) { 460 blink::WebCryptoKey* key) [all...] |
| platform_crypto_nss.cc | [all...] |
| jwk.cc | 537 Status ExportRsaPrivateKeyJwk(const blink::WebCryptoKey& key, 710 bool IsRsaKey(const blink::WebCryptoKey& key) { 718 blink::WebCryptoKey* key) { [all...] |
| /external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
| Key.h | 38 #include "public/platform/WebCryptoKey.h" 50 static Key* create(const blink::WebCryptoKey& key) 62 const blink::WebCryptoKey& key() const { return m_key; } 75 explicit Key(const blink::WebCryptoKey&); 77 const blink::WebCryptoKey m_key;
|
| CryptoResultImpl.h | 66 virtual void completeWithKey(const blink::WebCryptoKey&) OVERRIDE; 67 virtual void completeWithKeyPair(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey) OVERRIDE;
|
| CryptoResultImpl.cpp | 148 void CryptoResultImpl::completeWithKey(const blink::WebCryptoKey& key) 154 void CryptoResultImpl::completeWithKeyPair(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey)
|
| Key.cpp | 133 Key::Key(const blink::WebCryptoKey& key)
|
| /external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
| SerializedScriptValue.cpp | 68 #include "public/platform/WebCryptoKey.h" 507 bool writeCryptoKey(const blink::WebCryptoKey& key) 708 void doWriteHmacKey(const blink::WebCryptoKey& key) 718 void doWriteAesKey(const blink::WebCryptoKey& key) 730 void doWriteRsaHashedKey(const blink::WebCryptoKey& key) [all...] |