diff options
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r-- | src/node_crypto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index 982fc70543..c4477a12f6 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -456,6 +456,7 @@ class KeyObject : public BaseObject { // only be used to implement cryptograohic operations requiring the key. ManagedEVPPKey GetAsymmetricKey() const; const char* GetSymmetricKey() const; + size_t GetAsymmetricKeySize() const; size_t GetSymmetricKeySize() const; protected: @@ -470,6 +471,9 @@ class KeyObject : public BaseObject { const v8::FunctionCallbackInfo<v8::Value>& args); v8::Local<v8::String> GetAsymmetricKeyType() const; + static void GetAsymmetricKeySize( + const v8::FunctionCallbackInfo<v8::Value>& args); + static void GetSymmetricKeySize( const v8::FunctionCallbackInfo<v8::Value>& args); |