aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/transforms/rsa/rsa_private_key.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/transforms/rsa/rsa_private_key.h')
-rw-r--r--Source/charon/transforms/rsa/rsa_private_key.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/charon/transforms/rsa/rsa_private_key.h b/Source/charon/transforms/rsa/rsa_private_key.h
index ffbe419f5..3ca760042 100644
--- a/Source/charon/transforms/rsa/rsa_private_key.h
+++ b/Source/charon/transforms/rsa/rsa_private_key.h
@@ -126,6 +126,14 @@ struct rsa_private_key_t {
bool (*belongs_to) (rsa_private_key_t *this, rsa_public_key_t *public);
/**
+ * @brief Clone the private key.
+ *
+ * @param this private key to clone
+ * @return clone of this
+ */
+ rsa_private_key_t *(*clone) (rsa_private_key_t *this);
+
+ /**
* @brief Destroys the private key.
*
* @param this private key to destroy