/external/chromium_org/content/renderer/webcrypto/ |
webcrypto_util.h | 14 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" 40 blink::WebCryptoAlgorithm GetInnerHashAlgorithm( 41 const blink::WebCryptoAlgorithm& algorithm); 43 // Creates a WebCryptoAlgorithm without any parameters. 44 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateAlgorithm( 50 blink::WebCryptoAlgorithm CreateHmacAlgorithmByHashOutputLen( 56 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateHmacAlgorithmByHashId( 62 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateHmacKeyGenAlgorithm( 68 blink::WebCryptoAlgorithm CreateRsaSsaAlgorithm( 73 blink::WebCryptoAlgorithm CreateRsaOaepAlgorithm [all...] |
webcrypto_impl.h | 21 const blink::WebCryptoAlgorithm& algorithm, 27 const blink::WebCryptoAlgorithm& algorithm, 33 const blink::WebCryptoAlgorithm& algorithm, 38 const blink::WebCryptoAlgorithm& algorithm, 46 const blink::WebCryptoAlgorithm& algorithm_or_null, 55 const blink::WebCryptoAlgorithm& algorithm, 61 const blink::WebCryptoAlgorithm& algorithm, 76 const blink::WebCryptoAlgorithm& algorithm, 82 const blink::WebCryptoAlgorithm& algorithm, 88 const blink::WebCryptoAlgorithm& algorithm [all...] |
webcrypto_util.cc | 9 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" 18 blink::WebCryptoAlgorithm CreateAesKeyGenAlgorithm( 21 return blink::WebCryptoAlgorithm::adoptParamsAndCreate( 74 blink::WebCryptoAlgorithm GetInnerHashAlgorithm( 75 const blink::WebCryptoAlgorithm& algorithm) { 84 return blink::WebCryptoAlgorithm::createNull(); 87 blink::WebCryptoAlgorithm CreateAlgorithm(blink::WebCryptoAlgorithmId id) { 88 return blink::WebCryptoAlgorithm::adoptParamsAndCreate(id, NULL); 91 blink::WebCryptoAlgorithm CreateHmacAlgorithmByHashOutputLen( 112 return blink::WebCryptoAlgorithm::createNull() [all...] |
webcrypto_impl.cc | 17 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" 25 bool IsAlgorithmAsymmetric(const blink::WebCryptoAlgorithm& algorithm) { 34 typedef blink::WebCryptoAlgorithm (*AlgFactoryFuncWithOneShortArg)( 37 blink::WebCryptoAlgorithm BindAlgFactoryWithKeyLen() { 42 typedef blink::WebCryptoAlgorithm (*AlgFactoryFuncWithWebCryptoAlgIdArg)( 46 blink::WebCryptoAlgorithm BindAlgFactoryAlgorithmId() { 52 typedef blink::WebCryptoAlgorithm (*AlgFactoryFuncNoArgs)(); 83 map_["A128KW"] = &blink::WebCryptoAlgorithm::createNull; 85 map_["A256KW"] = &blink::WebCryptoAlgorithm::createNull; 103 blink::WebCryptoAlgorithm CreateAlgorithmFromName(const std::string& alg_id [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebCryptoAlgorithm.cpp | 32 #include "public/platform/WebCryptoAlgorithm.h" 52 WebCryptoAlgorithm::WebCryptoAlgorithm(WebCryptoAlgorithmId id, PassOwnPtr<WebCryptoAlgorithmParams> params) 57 WebCryptoAlgorithm WebCryptoAlgorithm::createNull() 59 return WebCryptoAlgorithm(); 62 WebCryptoAlgorithm WebCryptoAlgorithm::adoptParamsAndCreate(WebCryptoAlgorithmId id, WebCryptoAlgorithmParams* params) 64 return WebCryptoAlgorithm(id, adoptPtr(params)); 67 bool WebCryptoAlgorithm::isNull() cons [all...] |
WebCryptoKey.cpp | 34 #include "public/platform/WebCryptoAlgorithm.h" 42 WebCryptoKeyPrivate(PassOwnPtr<WebCryptoKeyHandle> handle, WebCryptoKeyType type, bool extractable, const WebCryptoAlgorithm& algorithm, WebCryptoKeyUsageMask usages) 55 const WebCryptoAlgorithm algorithm; 59 WebCryptoKey WebCryptoKey::create(WebCryptoKeyHandle* handle, WebCryptoKeyType type, bool extractable, const WebCryptoAlgorithm& algorithm, WebCryptoKeyUsageMask usages) 89 const WebCryptoAlgorithm& WebCryptoKey::algorithm() const
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
AesKeyGenParams.h | 35 #include "public/platform/WebCryptoAlgorithm.h" 41 static PassRefPtr<AesKeyGenParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptRef(new AesKeyGenParams(algorithm)); } 46 explicit AesKeyGenParams(const blink::WebCryptoAlgorithm&);
|
Algorithm.h | 35 #include "public/platform/WebCryptoAlgorithm.h" 44 static PassRefPtr<Algorithm> create(const blink::WebCryptoAlgorithm&); 51 explicit Algorithm(const blink::WebCryptoAlgorithm&); 53 const blink::WebCryptoAlgorithm m_algorithm;
|
AesCbcParams.h | 41 static PassRefPtr<AesCbcParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptRef(new AesCbcParams(algorithm)); } 46 explicit AesCbcParams(const blink::WebCryptoAlgorithm&);
|
AesCtrParams.h | 41 static PassRefPtr<AesCtrParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptRef(new AesCtrParams(algorithm)); } 47 explicit AesCtrParams(const blink::WebCryptoAlgorithm&);
|
HmacKeyParams.h | 41 static PassRefPtr<HmacKeyParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptRef(new HmacKeyParams(algorithm)); } 48 explicit HmacKeyParams(const blink::WebCryptoAlgorithm&);
|
HmacParams.h | 41 static PassRefPtr<HmacParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptRef(new HmacParams(algorithm)); } 46 explicit HmacParams(const blink::WebCryptoAlgorithm&);
|
NormalizeAlgorithm.h | 34 #include "public/platform/WebCryptoAlgorithm.h" 37 namespace blink { class WebCryptoAlgorithm; } 59 // Normalizes an algorithm identifier (dictionary) into a WebCryptoAlgorithm. If 61 bool normalizeAlgorithm(const Dictionary&, AlgorithmOperation, blink::WebCryptoAlgorithm&, ExceptionState&) WARN_UNUSED_RETURN;
|
RsaKeyGenParams.h | 35 #include "public/platform/WebCryptoAlgorithm.h" 42 static PassRefPtr<RsaKeyGenParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptRef(new RsaKeyGenParams(algorithm)); } 48 explicit RsaKeyGenParams(const blink::WebCryptoAlgorithm&);
|
RsaSsaParams.h | 41 static PassRefPtr<RsaSsaParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptRef(new RsaSsaParams(algorithm)); } 46 explicit RsaSsaParams(const blink::WebCryptoAlgorithm&);
|
AesKeyGenParams.cpp | 43 AesKeyGenParams::AesKeyGenParams(const blink::WebCryptoAlgorithm& algorithm)
|
AesCbcParams.cpp | 47 AesCbcParams::AesCbcParams(const blink::WebCryptoAlgorithm& algorithm)
|
HmacParams.cpp | 45 HmacParams::HmacParams(const blink::WebCryptoAlgorithm& algorithm)
|
RsaSsaParams.cpp | 45 RsaSsaParams::RsaSsaParams(const blink::WebCryptoAlgorithm& algorithm)
|
Algorithm.cpp | 47 PassRefPtr<Algorithm> Algorithm::create(const blink::WebCryptoAlgorithm& algorithm) 76 Algorithm::Algorithm(const blink::WebCryptoAlgorithm& algorithm)
|
AesCtrParams.cpp | 52 AesCtrParams::AesCtrParams(const blink::WebCryptoAlgorithm& algorithm)
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebCryptoAlgorithm.h | 88 // The WebCryptoAlgorithm represents a normalized algorithm and its parameters. 93 // If WebCryptoAlgorithm "isNull()" then it is invalid to call any of the other 95 class WebCryptoAlgorithm { 98 WebCryptoAlgorithm() { } 99 BLINK_PLATFORM_EXPORT WebCryptoAlgorithm(WebCryptoAlgorithmId, PassOwnPtr<WebCryptoAlgorithmParams>); 102 BLINK_PLATFORM_EXPORT static WebCryptoAlgorithm createNull(); 103 BLINK_PLATFORM_EXPORT static WebCryptoAlgorithm adoptParamsAndCreate(WebCryptoAlgorithmId, WebCryptoAlgorithmParams*); 105 ~WebCryptoAlgorithm() { reset(); } 107 WebCryptoAlgorithm(const WebCryptoAlgorithm& other) { assign(other); [all...] |
WebCrypto.h | 98 virtual void encrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(); } 99 virtual void decrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(); } 100 virtual void sign(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(); } 101 virtual void verifySignature(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* signature, unsigned signatureSize, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(); } 102 virtual void digest(const WebCryptoAlgorithm&, const unsigned char* data, unsigned dataSize, WebCryptoResult result) { result.completeWithError(); } 103 virtual void generateKey(const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, WebCryptoResult result) { result.completeWithError(); } 104 // The WebCryptoAlgorithm for importKey may be "isNull()" meaning that it 106 virtual void importKey(WebCryptoKeyFormat, const unsigned char* keyData, unsigned keyDataSize, const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, WebCryptoResult result) { result.completeWithError(); } 109 virtual void wrapKey(WebCryptoKeyFormat, const WebCryptoKey& key, const WebCryptoKey& wrappingKey, const WebCryptoAlgorithm&, WebCryptoResult result) { result.completeWithError(); } 113 virtual void unwrapKey(WebCryptoKeyFormat, const unsigned char* wrappedKey, unsigned wrappedKeySize, const WebCryptoKey&, const WebCryptoAlgorithm& unwrapAlgorithm, const WebCryptoAlgorithm& unwrappedKeyAlgorithm, bool extractable, WebCryptoKeyU (…) [all...] |
WebCryptoAlgorithmParams.h | 35 #include "WebCryptoAlgorithm.h" 117 explicit WebCryptoHmacParams(const WebCryptoAlgorithm& hash) 124 const WebCryptoAlgorithm& hash() const { return m_hash; } 127 const WebCryptoAlgorithm m_hash; 132 WebCryptoHmacKeyParams(const WebCryptoAlgorithm& hash, bool hasLengthBytes, unsigned lengthBytes) 142 const WebCryptoAlgorithm& hash() const { return m_hash; } 158 const WebCryptoAlgorithm m_hash; 165 explicit WebCryptoRsaSsaParams(const WebCryptoAlgorithm& hash) 172 const WebCryptoAlgorithm& hash() const { return m_hash; } 175 const WebCryptoAlgorithm m_hash [all...] |
WebCryptoKey.h | 68 class WebCryptoAlgorithm; 109 BLINK_PLATFORM_EXPORT static WebCryptoKey create(WebCryptoKeyHandle*, WebCryptoKeyType, bool extractable, const WebCryptoAlgorithm&, WebCryptoKeyUsageMask); 120 BLINK_PLATFORM_EXPORT const WebCryptoAlgorithm& algorithm() const;
|