/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebCryptoNormalize.cpp | 43 WebCryptoAlgorithm normalizeCryptoAlgorithm(v8::Handle<v8::Object> algorithmObject, WebCryptoOperation operation, int* exceptionCode, WebString* errorDetails, v8::Isolate* isolate) 47 return WebCryptoAlgorithm(); 48 WebCryptoAlgorithm algorithm; 53 return WebCryptoAlgorithm();
|
/external/chromium_org/third_party/WebKit/public/platform/ |
H A D | WebCryptoAlgorithm.h | 115 // The WebCryptoAlgorithm represents a normalized algorithm and its parameters. 120 // If WebCryptoAlgorithm "isNull()" then it is invalid to call any of the other 122 class WebCryptoAlgorithm { class in namespace:blink 125 WebCryptoAlgorithm() { } function in class:blink::WebCryptoAlgorithm 126 BLINK_PLATFORM_EXPORT WebCryptoAlgorithm(WebCryptoAlgorithmId, PassOwnPtr<WebCryptoAlgorithmParams>); 129 BLINK_PLATFORM_EXPORT static WebCryptoAlgorithm createNull(); 130 BLINK_PLATFORM_EXPORT static WebCryptoAlgorithm adoptParamsAndCreate(WebCryptoAlgorithmId, WebCryptoAlgorithmParams*); 137 ~WebCryptoAlgorithm() { reset(); } 139 WebCryptoAlgorithm(const WebCryptoAlgorithm function in class:blink::WebCryptoAlgorithm [all...] |
H A D | WebCryptoKeyAlgorithmParams.h | 35 #include "WebCryptoAlgorithm.h" 48 virtual void setAlgorithm(const char*, const WebCryptoAlgorithm&) = 0; 98 WebCryptoHmacKeyAlgorithmParams(const WebCryptoAlgorithm& hash, unsigned lengthBits) 104 const WebCryptoAlgorithm& hash() const 126 WebCryptoAlgorithm m_hash; 132 WebCryptoRsaHashedKeyAlgorithmParams(unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publicExponentSize, const WebCryptoAlgorithm& hash) 149 const WebCryptoAlgorithm& hash() const 169 WebCryptoAlgorithm m_hash;
|
H A D | WebCrypto.h | 35 #include "WebCryptoAlgorithm.h" 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, ""); } argument 209 virtual void decrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } argument 210 virtual void sign(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } argument 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, ""); } argument 212 virtual void digest(const WebCryptoAlgorithm&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } argument 213 virtual void generateKey(const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } argument 214 virtual void importKey(WebCryptoKeyFormat, const unsigned char* keyData, unsigned keyDataSize, const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); } argument 216 virtual void wrapKey(WebCryptoKeyFormat, const WebCryptoKey& key, const WebCryptoKey& wrappingKey, const WebCryptoAlgorithm argument [all...] |
H A D | WebCryptoAlgorithmParams.h | 35 #include "WebCryptoAlgorithm.h" 76 explicit WebCryptoAlgorithmParamsWithHash(const WebCryptoAlgorithm& hash) 82 const WebCryptoAlgorithm& hash() const { return m_hash; } 85 const WebCryptoAlgorithm m_hash; 124 explicit WebCryptoHmacImportParams(const WebCryptoAlgorithm& hash) 134 WebCryptoHmacKeyGenParams(const WebCryptoAlgorithm& hash, bool hasLengthBits, unsigned lengthBits) 186 explicit WebCryptoRsaHashedImportParams(const WebCryptoAlgorithm& hash) 196 explicit WebCryptoRsaHashedKeyGenParams(const WebCryptoAlgorithm& hash, unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publicExponentSize) 208 const WebCryptoAlgorithm& hash() const { return m_hash; } 213 const WebCryptoAlgorithm m_has [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
H A D | NormalizeAlgorithm.h | 35 #include "public/platform/WebCryptoAlgorithm.h" 49 // Converts a javascript Dictionary to a WebCryptoAlgorithm object. 54 // On success returns true and sets the WebCryptoAlgorithm. 60 bool normalizeAlgorithm(const Dictionary&, WebCryptoOperation, WebCryptoAlgorithm&, AlgorithmError*) WARN_UNUSED_RETURN;
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
H A D | WebCryptoAlgorithm.cpp | 32 #include "public/platform/WebCryptoAlgorithm.h" 234 WebCryptoAlgorithm::WebCryptoAlgorithm(WebCryptoAlgorithmId id, PassOwnPtr<WebCryptoAlgorithmParams> params) function in class:blink::WebCryptoAlgorithm 239 WebCryptoAlgorithm WebCryptoAlgorithm::createNull() 241 return WebCryptoAlgorithm(); 244 WebCryptoAlgorithm WebCryptoAlgorithm::adoptParamsAndCreate(WebCryptoAlgorithmId id, WebCryptoAlgorithmParams* params) 246 return WebCryptoAlgorithm(id, adoptPtr(params)); 249 const WebCryptoAlgorithmInfo* WebCryptoAlgorithm [all...] |
H A D | WebCryptoKeyAlgorithm.cpp | 40 WebCryptoAlgorithm createHash(WebCryptoAlgorithmId hash) 42 return WebCryptoAlgorithm::adoptParamsAndCreate(hash, 0); 78 if (!WebCryptoAlgorithm::isHash(hash)) 86 if (!WebCryptoAlgorithm::isHash(hash)) 137 dict->setString("name", WebCryptoAlgorithm::lookupAlgorithmInfo(id())->name);
|
/external/chromium_org/content/child/webcrypto/ |
H A D | algorithm_dispatch.h | 31 CONTENT_EXPORT Status Encrypt(const blink::WebCryptoAlgorithm& algorithm, 36 CONTENT_EXPORT Status Decrypt(const blink::WebCryptoAlgorithm& algorithm, 41 CONTENT_EXPORT Status Digest(const blink::WebCryptoAlgorithm& algorithm, 46 GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm, 52 GenerateKeyPair(const blink::WebCryptoAlgorithm& algorithm, 60 const blink::WebCryptoAlgorithm& algorithm, 69 CONTENT_EXPORT Status Sign(const blink::WebCryptoAlgorithm& algorithm, 74 CONTENT_EXPORT Status Verify(const blink::WebCryptoAlgorithm& algorithm, 84 const blink::WebCryptoAlgorithm& wrapping_algorithm, 91 const blink::WebCryptoAlgorithm [all...] |
H A D | webcrypto_impl.h | 11 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" 28 virtual void encrypt(const blink::WebCryptoAlgorithm& algorithm, 33 virtual void decrypt(const blink::WebCryptoAlgorithm& algorithm, 38 virtual void digest(const blink::WebCryptoAlgorithm& algorithm, 42 virtual void generateKey(const blink::WebCryptoAlgorithm& algorithm, 49 const blink::WebCryptoAlgorithm& algorithm, 56 virtual void sign(const blink::WebCryptoAlgorithm& algorithm, 61 virtual void verifySignature(const blink::WebCryptoAlgorithm& algorithm, 71 const blink::WebCryptoAlgorithm& wrap_algorithm, 78 const blink::WebCryptoAlgorithm [all...] |
H A D | algorithm_implementation.cc | 17 const blink::WebCryptoAlgorithm& algorithm, 25 const blink::WebCryptoAlgorithm& algorithm, 32 Status AlgorithmImplementation::Sign(const blink::WebCryptoAlgorithm& algorithm, 40 const blink::WebCryptoAlgorithm& algorithm, 49 const blink::WebCryptoAlgorithm& algorithm, 69 const blink::WebCryptoAlgorithm& algorithm, 77 const blink::WebCryptoAlgorithm& algorithm, 94 const blink::WebCryptoAlgorithm& algorithm, 103 const blink::WebCryptoAlgorithm& algorithm, 112 const blink::WebCryptoAlgorithm [all...] |
H A D | algorithm_implementation.h | 24 // This is in contrast to blink::WebCryptoAlgorithm which instead *describes* 45 virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm, 51 virtual Status Decrypt(const blink::WebCryptoAlgorithm& algorithm, 57 virtual Status Sign(const blink::WebCryptoAlgorithm& algorithm, 63 virtual Status Verify(const blink::WebCryptoAlgorithm& algorithm, 70 virtual Status Digest(const blink::WebCryptoAlgorithm& algorithm, 80 virtual Status GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm, 94 const blink::WebCryptoAlgorithm& algorithm, 124 const blink::WebCryptoAlgorithm& algorithm, 132 const blink::WebCryptoAlgorithm [all...] |
H A D | webcrypto_util.h | 13 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" 31 // Creates a WebCryptoAlgorithm without any parameters. 32 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateAlgorithm( 38 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateHmacImportAlgorithm( 43 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateRsaHashedImportAlgorithm(
|
H A D | algorithm_dispatch.cc | 22 Status DecryptDontCheckKeyUsage(const blink::WebCryptoAlgorithm& algorithm, 37 Status EncryptDontCheckUsage(const blink::WebCryptoAlgorithm& algorithm, 76 Status Encrypt(const blink::WebCryptoAlgorithm& algorithm, 85 Status Decrypt(const blink::WebCryptoAlgorithm& algorithm, 94 Status Digest(const blink::WebCryptoAlgorithm& algorithm, 105 Status GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm, 121 Status GenerateKeyPair(const blink::WebCryptoAlgorithm& algorithm, 149 const blink::WebCryptoAlgorithm& algorithm, 188 Status Sign(const blink::WebCryptoAlgorithm& algorithm, 205 Status Verify(const blink::WebCryptoAlgorithm [all...] |
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebCryptoNormalize.h | 36 #include "../platform/WebCryptoAlgorithm.h" 48 // Converts a javascript Dictionary to a WebCryptoAlgorithm object. 53 // On failure returns an null WebCryptoAlgorithm, sets the int to the 57 BLINK_EXPORT WebCryptoAlgorithm normalizeCryptoAlgorithm(v8::Handle<v8::Object>, WebCryptoOperation, int* exceptionCode, WebString* errorDetails, v8::Isolate*);
|
/external/chromium_org/content/child/webcrypto/test/ |
H A D | test_helpers.h | 14 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" 30 class WebCryptoAlgorithm; 57 blink::WebCryptoAlgorithm CreateRsaHashedKeyGenAlgorithm( 97 blink::WebCryptoAlgorithm GetDigestAlgorithm(base::DictionaryValue* dict, 103 blink::WebCryptoAlgorithm CreateAesKeyGenAlgorithm( 121 const blink::WebCryptoAlgorithm& algorithm, 126 const blink::WebCryptoAlgorithm& algorithm, 134 const blink::WebCryptoAlgorithm& algorithm, 169 const blink::WebCryptoAlgorithm& import_algorithm,
|
/external/chromium_org/content/child/webcrypto/openssl/ |
H A D | rsa_key_openssl.h | 47 const blink::WebCryptoAlgorithm& algorithm, 59 const blink::WebCryptoAlgorithm& algorithm, 65 const blink::WebCryptoAlgorithm& algorithm, 71 const blink::WebCryptoAlgorithm& algorithm,
|
H A D | aes_gcm_openssl.cc | 38 const blink::WebCryptoAlgorithm& algorithm, 65 virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm, 72 virtual Status Decrypt(const blink::WebCryptoAlgorithm& algorithm,
|
H A D | aes_key_openssl.h | 34 virtual Status GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm, 44 const blink::WebCryptoAlgorithm& algorithm, 50 const blink::WebCryptoAlgorithm& algorithm,
|
H A D | aes_kw_openssl.cc | 37 const blink::WebCryptoAlgorithm& algorithm, 71 virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm, 78 virtual Status Decrypt(const blink::WebCryptoAlgorithm& algorithm,
|
/external/chromium_org/content/child/webcrypto/nss/ |
H A D | aes_key_nss.h | 42 virtual Status GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm, 52 const blink::WebCryptoAlgorithm& algorithm, 58 const blink::WebCryptoAlgorithm& algorithm,
|
H A D | hmac_nss.cc | 34 bool WebCryptoHashToHMACMechanism(const blink::WebCryptoAlgorithm& algorithm, 58 virtual Status GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm, 65 const blink::WebCryptoAlgorithm& hash = params->hash(); 102 const blink::WebCryptoAlgorithm& algorithm, 106 const blink::WebCryptoAlgorithm& hash = 130 const blink::WebCryptoAlgorithm& algorithm, 174 virtual Status Sign(const blink::WebCryptoAlgorithm& algorithm, 178 const blink::WebCryptoAlgorithm& hash = 212 virtual Status Verify(const blink::WebCryptoAlgorithm& algorithm,
|
H A D | rsa_key_nss.h | 52 const blink::WebCryptoAlgorithm& algorithm, 64 const blink::WebCryptoAlgorithm& algorithm, 70 const blink::WebCryptoAlgorithm& algorithm, 82 const blink::WebCryptoAlgorithm& algorithm,
|
H A D | rsa_ssa_nss.cc | 44 virtual Status Sign(const blink::WebCryptoAlgorithm& algorithm, 53 const blink::WebCryptoAlgorithm& hash = 90 virtual Status Verify(const blink::WebCryptoAlgorithm& algorithm, 100 const blink::WebCryptoAlgorithm& hash =
|
/external/chromium_org/chrome/renderer/extensions/ |
H A D | enterprise_platform_keys_natives.cc | 12 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" 40 const blink::WebCryptoAlgorithm& algorithm) { 45 blink::WebCryptoAlgorithm::lookupAlgorithmInfo(algorithm.id()); 60 const blink::WebCryptoAlgorithm& hash = rsaHashedKeyGen->hash(); 63 blink::WebCryptoAlgorithm::lookupAlgorithmInfo(hash.id()); 99 blink::WebCryptoAlgorithm algorithm =
|