| Index: Source/modules/crypto/Key.h
|
| diff --git a/Source/modules/crypto/Key.h b/Source/modules/crypto/Key.h
|
| index 4b9c008cace9a991350f7dc4e96b2adc48063bbb..839aefef27c3670103cba0b661b656453aa16726 100644
|
| --- a/Source/modules/crypto/Key.h
|
| +++ b/Source/modules/crypto/Key.h
|
| @@ -46,11 +46,19 @@ class Key : public ScriptWrappable, public RefCounted<Key> {
|
| public:
|
| static PassRefPtr<Key> create(const WebKit::WebCryptoKey& key) { return adoptRef(new Key(key)); }
|
|
|
| + ~Key();
|
| +
|
| String type() const;
|
| bool extractable() const;
|
| Algorithm* algorithm();
|
| Vector<String> usages() const;
|
|
|
| + static bool parseFormat(const String&, WebKit::WebCryptoKeyFormat&);
|
| +
|
| + // Parses KeyUsage strings to a WebCryptoKeyUsageMask. If any element is
|
| + // unrecognized, returns false.
|
| + static bool parseUsageMask(const Vector<String>&, WebKit::WebCryptoKeyUsageMask&);
|
| +
|
| protected:
|
| explicit Key(const WebKit::WebCryptoKey&);
|
|
|
|
|