Home
last modified time | relevance | path

Searched refs:WebCryptoKeyAlgorithm (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebCryptoKeyAlgorithm.cpp57 WebCryptoKeyAlgorithm::WebCryptoKeyAlgorithm(WebCryptoAlgorithmId id, PassOwnPtr<WebCryptoKeyAlgori… in WebCryptoKeyAlgorithm() function in blink::WebCryptoKeyAlgorithm
62 WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::adoptParamsAndCreate(WebCryptoAlgorithmId id, WebCrypt… in adoptParamsAndCreate()
64 return WebCryptoKeyAlgorithm(id, adoptPtr(params)); in adoptParamsAndCreate()
67 WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createAes(WebCryptoAlgorithmId id, unsigned short keyL… in createAes()
72 return WebCryptoKeyAlgorithm(); in createAes()
73 return WebCryptoKeyAlgorithm(id, adoptPtr(new WebCryptoAesKeyAlgorithmParams(keyLengthBits))); in createAes()
76 WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createHmac(WebCryptoAlgorithmId hash, unsigned keyLeng… in createHmac()
79 return WebCryptoKeyAlgorithm(); in createHmac()
80 …return WebCryptoKeyAlgorithm(WebCryptoAlgorithmIdHmac, adoptPtr(new WebCryptoHmacKeyAlgorithmParam… in createHmac()
83 WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createRsaHashed(WebCryptoAlgorithmId id, unsigned modu… in createRsaHashed()
[all …]
DWebCryptoKey.cpp44 …KeyHandle> handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm… in WebCryptoKeyPrivate()
57 const WebCryptoKeyAlgorithm algorithm;
61 …KeyHandle* handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm… in create()
91 const WebCryptoKeyAlgorithm& WebCryptoKey::algorithm() const in algorithm()
/external/chromium_org/third_party/WebKit/public/platform/
DWebCryptoKeyAlgorithm.h51 class WebCryptoKeyAlgorithm {
53 WebCryptoKeyAlgorithm() { } in WebCryptoKeyAlgorithm() function
56 …BLINK_PLATFORM_EXPORT WebCryptoKeyAlgorithm(WebCryptoAlgorithmId, PassOwnPtr<WebCryptoKeyAlgorithm…
60 …BLINK_PLATFORM_EXPORT static WebCryptoKeyAlgorithm adoptParamsAndCreate(WebCryptoAlgorithmId, WebC…
62 …BLINK_PLATFORM_EXPORT static WebCryptoKeyAlgorithm createAes(WebCryptoAlgorithmId, unsigned short …
63 …BLINK_PLATFORM_EXPORT static WebCryptoKeyAlgorithm createHmac(WebCryptoAlgorithmId hash, unsigned …
64 …BLINK_PLATFORM_EXPORT static WebCryptoKeyAlgorithm createRsaHashed(WebCryptoAlgorithmId, unsigned …
66 ~WebCryptoKeyAlgorithm() { reset(); } in ~WebCryptoKeyAlgorithm()
68 WebCryptoKeyAlgorithm(const WebCryptoKeyAlgorithm& other) { assign(other); } in WebCryptoKeyAlgorithm() function
69 WebCryptoKeyAlgorithm& operator=(const WebCryptoKeyAlgorithm& other)
[all …]
DWebCryptoKey.h69 class WebCryptoKeyAlgorithm; variable
105 …te(WebCryptoKeyHandle*, WebCryptoKeyType, bool extractable, const WebCryptoKeyAlgorithm&, WebCrypt…
116 BLINK_PLATFORM_EXPORT const WebCryptoKeyAlgorithm& algorithm() const;
DWebCrypto.h274 …virtual bool deserializeKeyForClone(const WebCryptoKeyAlgorithm&, WebCryptoKeyType, bool extractab… in deserializeKeyForClone() argument
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
DKeyAlgorithm.h46 static KeyAlgorithm* create(const blink::WebCryptoKeyAlgorithm&);
59 explicit KeyAlgorithm(const blink::WebCryptoKeyAlgorithm&);
61 blink::WebCryptoKeyAlgorithm m_algorithm;
DKeyAlgorithm.cpp48 KeyAlgorithm* KeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm) in create()
68 return new KeyAlgorithm(blink::WebCryptoKeyAlgorithm(hash.id(), nullptr)); in createHash()
71 KeyAlgorithm::KeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) in KeyAlgorithm()
DAesKeyAlgorithm.h44 static AesKeyAlgorithm* create(const blink::WebCryptoKeyAlgorithm&);
51 explicit AesKeyAlgorithm(const blink::WebCryptoKeyAlgorithm&);
DRsaHashedKeyAlgorithm.h40 static RsaHashedKeyAlgorithm* create(const blink::WebCryptoKeyAlgorithm&);
47 explicit RsaHashedKeyAlgorithm(const blink::WebCryptoKeyAlgorithm&);
DRsaKeyAlgorithm.h42 static RsaKeyAlgorithm* create(const blink::WebCryptoKeyAlgorithm&);
50 explicit RsaKeyAlgorithm(const blink::WebCryptoKeyAlgorithm&);
DHmacKeyAlgorithm.h40 static HmacKeyAlgorithm* create(const blink::WebCryptoKeyAlgorithm&);
48 explicit HmacKeyAlgorithm(const blink::WebCryptoKeyAlgorithm&);
DAesKeyAlgorithm.cpp39 AesKeyAlgorithm* AesKeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm) in create()
54 AesKeyAlgorithm::AesKeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) in AesKeyAlgorithm()
DRsaHashedKeyAlgorithm.cpp39 RsaHashedKeyAlgorithm* RsaHashedKeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm) in create()
57 RsaHashedKeyAlgorithm::RsaHashedKeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) in RsaHashedKeyAlgorithm()
DHmacKeyAlgorithm.cpp39 HmacKeyAlgorithm* HmacKeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm) in create()
62 HmacKeyAlgorithm::HmacKeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) in HmacKeyAlgorithm()
DRsaKeyAlgorithm.cpp45 RsaKeyAlgorithm* RsaKeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm) in create()
69 RsaKeyAlgorithm::RsaKeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) in RsaKeyAlgorithm()
/external/chromium_org/content/child/webcrypto/
Dwebcrypto_util.cc165 blink::WebCryptoKeyAlgorithm* key_algorithm) { in CreateSecretKeyAlgorithm()
174 blink::WebCryptoKeyAlgorithm::createHmac(hash.id(), keylen_bytes * 8); in CreateSecretKeyAlgorithm()
181 *key_algorithm = blink::WebCryptoKeyAlgorithm::createAes( in CreateSecretKeyAlgorithm()
Dplatform_crypto_openssl.cc288 blink::WebCryptoKeyAlgorithm key_algorithm; in GenerateSecretKey()
320 blink::WebCryptoKeyAlgorithm key_algorithm; in ImportKeyRaw()
471 const blink::WebCryptoKeyAlgorithm& key_algorithm, in ExportKeyPkcs8()
506 const blink::WebCryptoKeyAlgorithm& algorithm, in ThreadSafeDeserializeKeyForClone()
Dplatform_crypto_nss.cc251 const blink::WebCryptoKeyAlgorithm& algorithm, in Create()
596 blink::WebCryptoKeyAlgorithm* key_algorithm) { in CreatePublicKeyAlgorithm()
608 *key_algorithm = blink::WebCryptoKeyAlgorithm::createRsaHashed( in CreatePublicKeyAlgorithm()
622 blink::WebCryptoKeyAlgorithm* key_algorithm) { in CreatePrivateKeyAlgorithm()
968 blink::WebCryptoKeyAlgorithm key_algorithm; in ImportKeyRaw()
1061 blink::WebCryptoKeyAlgorithm key_algorithm; in ImportKeySpki()
1142 const blink::WebCryptoKeyAlgorithm& key_algorithm, in ExportKeyPkcs8()
1241 blink::WebCryptoKeyAlgorithm key_algorithm; in ImportKeyPkcs8()
1550 blink::WebCryptoKeyAlgorithm key_algorithm; in GenerateRsaKeyPair()
1622 blink::WebCryptoKeyAlgorithm key_algorithm; in GenerateSecretKey()
[all …]
Dwebcrypto_util.h72 blink::WebCryptoKeyAlgorithm* key_algorithm);
Dwebcrypto_impl.h96 const blink::WebCryptoKeyAlgorithm& algorithm,
Dshared_crypto.h156 const blink::WebCryptoKeyAlgorithm& algorithm,
Dplatform_crypto.h272 const blink::WebCryptoKeyAlgorithm& key_algorithm,
Dshared_crypto.cc254 const blink::WebCryptoKeyAlgorithm& algorithm) { in KeyAlgorithmToImportAlgorithm()
279 const blink::WebCryptoKeyAlgorithm& algorithm, in ValidateDeserializedKey()
892 bool DeserializeKeyForClone(const blink::WebCryptoKeyAlgorithm& algorithm, in DeserializeKeyForClone()
Djwk.cc595 Status WriteAlg(const blink::WebCryptoKeyAlgorithm& algorithm, in WriteAlg()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DSerializedScriptValue.cpp2240 blink::WebCryptoKeyAlgorithm algorithm; in readCryptoKey()
2387 bool doReadHmacKey(blink::WebCryptoKeyAlgorithm& algorithm, blink::WebCryptoKeyType& type) in doReadHmacKey()
2395 algorithm = blink::WebCryptoKeyAlgorithm::createHmac(hash, lengthBytes * 8); in doReadHmacKey()
2400 bool doReadAesKey(blink::WebCryptoKeyAlgorithm& algorithm, blink::WebCryptoKeyType& type) in doReadAesKey()
2408 algorithm = blink::WebCryptoKeyAlgorithm::createAes(id, lengthBytes * 8); in doReadAesKey()
2413 bool doReadRsaHashedKey(blink::WebCryptoKeyAlgorithm& algorithm, blink::WebCryptoKeyType& type) in doReadRsaHashedKey()
2451 …algorithm = blink::WebCryptoKeyAlgorithm::createRsaHashed(id, modulusLengthBits, publicExponent, p… in doReadRsaHashedKey()

12