diff options
Diffstat (limited to 'crypto/symmetric_key.h')
-rw-r--r-- | crypto/symmetric_key.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/symmetric_key.h b/crypto/symmetric_key.h index 5bb92b7..500324e 100644 --- a/crypto/symmetric_key.h +++ b/crypto/symmetric_key.h @@ -71,6 +71,11 @@ class CRYPTO_EXPORT SymmetricKey { // carefully. bool GetRawKey(std::string* raw_key); +#if defined(OS_CHROMEOS) + // Creates symmetric key from NSS key. Takes over the ownership of |key|. + static SymmetricKey* CreateFromKey(PK11SymKey* key); +#endif + private: #if defined(USE_OPENSSL) SymmetricKey() {} |