HomeSort by relevance Sort by last modified time
    Searched refs:extractable (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WebCryptoKey.cpp 42 WebCryptoKeyPrivate(PassOwnPtr<WebCryptoKeyHandle> handle, WebCryptoKeyType type, bool extractable, const WebCryptoAlgorithm& algorithm, WebCryptoKeyUsageMask usages)
45 , extractable(extractable)
54 const bool extractable; member in class:blink::WebCryptoKeyPrivate
59 WebCryptoKey WebCryptoKey::create(WebCryptoKeyHandle* handle, WebCryptoKeyType type, bool extractable, const WebCryptoAlgorithm& algorithm, WebCryptoKeyUsageMask usages)
62 key.m_private = adoptRef(new WebCryptoKeyPrivate(adoptPtr(handle), type, extractable, algorithm, usages));
83 bool WebCryptoKey::extractable() const function in class:blink::WebCryptoKey
86 return m_private->extractable;
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
Key.idl 35 readonly attribute boolean extractable;
SubtleCrypto.idl 40 [RaisesException] Promise generateKey(Dictionary algorithm, boolean extractable, DOMString[] keyUsages);
41 [RaisesException] Promise importKey(DOMString format, ArrayBufferView keyData, Dictionary? algorithm, boolean extractable, DOMString[] keyUsages);
45 [RaisesException] Promise unwrapKey(DOMString format, ArrayBufferView wrappedKey, Key unwrappingKey, Dictionary unwrapAlgorithm, Dictionary? unwrappedKeyAlgorithm, boolean extractable, DOMString[] keyUsages);
SubtleCrypto.h 57 ScriptPromise generateKey(const Dictionary&, bool extractable, const Vector<String>& keyUsages, ExceptionState&);
58 ScriptPromise importKey(const String&, ArrayBufferView*, const Dictionary&, bool extractable, const Vector<String>& keyUsages, ExceptionState&);
Key.h 54 bool extractable() const;
SubtleCrypto.cpp 140 ScriptPromise SubtleCrypto::generateKey(const Dictionary& rawAlgorithm, bool extractable, const Vector<String>& rawKeyUsages, ExceptionState& exceptionState)
152 blink::Platform::current()->crypto()->generateKey(algorithm, extractable, keyUsages, result->result());
156 ScriptPromise SubtleCrypto::importKey(const String& rawFormat, ArrayBufferView* keyData, const Dictionary& rawAlgorithm, bool extractable, const Vector<String>& rawKeyUsages, ExceptionState& exceptionState)
180 blink::Platform::current()->crypto()->importKey(format, keyDataBytes, keyData->byteLength(), algorithm, extractable, keyUsages, result->result());
195 if (!key->extractable()) {
196 exceptionState.throwDOMException(NotSupportedError, "key is not extractable");
226 if (!key->extractable()) {
227 exceptionState.throwDOMException(NotSupportedError, "key is not extractable");
240 ScriptPromise SubtleCrypto::unwrapKey(const String& rawFormat, ArrayBufferView* wrappedKey, Key* unwrappingKey, const Dictionary& rawUnwrapAlgorithm, const Dictionary& rawUnwrappedKeyAlgorithm, bool extractable, const Vector<String>& rawKeyUsages, ExceptionState& exceptionState)
277 blink::Platform::current()->crypto()->unwrapKey(format, wrappedKeyData, wrappedKeyDataSize, unwrappingKey->key(), unwrapAlgorithm, unwrappedKeyAlgorithm, extractable, keyUsages, result->result())
    [all...]
Key.cpp 151 bool Key::extractable() const function in class:WebCore::Key
153 return m_key.extractable();
  /external/chromium_org/third_party/WebKit/public/platform/
WebCryptoKey.h 109 BLINK_PLATFORM_EXPORT static WebCryptoKey create(WebCryptoKeyHandle*, WebCryptoKeyType, bool extractable, const WebCryptoAlgorithm&, WebCryptoKeyUsageMask);
119 BLINK_PLATFORM_EXPORT bool extractable() const;
WebCrypto.h 103 virtual void generateKey(const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, WebCryptoResult result) { result.completeWithError(); }
106 virtual void importKey(WebCryptoKeyFormat, const unsigned char* keyData, unsigned keyDataSize, const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, 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, WebCryptoKeyUsageMask, WebCryptoResult result) { result.completeWithError(); }
  /external/chromium_org/content/renderer/webcrypto/
webcrypto_impl.h 39 bool extractable,
47 bool extractable,
94 bool extractable,
99 bool extractable,
108 bool extractable,
134 bool extractable,
143 bool extractable,
webcrypto_impl.cc 216 bool extractable,
224 algorithm, extractable, usage_mask, &public_key, &private_key)) {
231 DCHECK_EQ(true, public_key.extractable());
232 DCHECK_EQ(extractable, private_key.extractable());
239 if (!GenerateKeyInternal(algorithm, extractable, usage_mask, &key)) {
244 DCHECK_EQ(extractable, key.extractable());
256 bool extractable,
264 extractable,
    [all...]
webcrypto_impl_unittest.cc 59 dict->SetBoolean("extractable", false);
72 dict->SetBoolean("extractable", false);
127 bool extractable = true; local
132 extractable,
156 bool extractable = true; local
158 return crypto_.GenerateKeyInternal(algorithm, extractable, usage_mask, key);
163 bool extractable,
168 algorithm, extractable, usage_mask, public_key, private_key);
175 bool extractable,
182 extractable,
954 bool extractable = false; local
1032 extractable, local
1063 bool extractable = false; local
1280 bool extractable = false; local
    [all...]
webcrypto_impl_nss.cc 252 bool extractable,
324 type, extractable, algorithm, usage_mask);
335 if (key.type() != blink::WebCryptoKeyTypeSecret || !key.extractable())
391 bool extractable,
423 extractable,
437 if (key.type() != blink::WebCryptoKeyTypePublic || !key.extractable())
460 bool extractable,
499 extractable,
654 bool extractable,
711 key_type, extractable, algorithm, usage_mask)
    [all...]
webcrypto_impl_openssl.cc 167 if (key.type() != blink::WebCryptoKeyTypeSecret || !key.extractable())
270 bool extractable,
316 key_type, extractable, algorithm, usage_mask);
323 bool extractable,
337 bool extractable,
382 type, extractable, algorithm, usage_mask);
531 bool extractable,
  /external/chromium_org/net/third_party/mozilla_security_manager/
nsPKCS12Blob.cpp 210 // non-extractable if needed.
234 // non-extractable.
241 // private keys as non-extractable.
246 // Mark the private key as non-extractable.
302 // a token. On success, store the attribute in |extractable| and return
305 isExtractable(SECKEYPrivateKey *privKey, PRBool *extractable)
315 *extractable = !!(*(CK_BBOOL*)value.data);
441 LOG(ERROR) << "Private key is not extractable";
  /external/chromium_org/chrome/browser/ui/webui/options/
certificate_manager_browsertest.js 121 'extractable': true }],
131 'extractable': true,
137 'extractable': true,

Completed in 124 milliseconds