aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/pkcs9.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/crypto/pkcs9.h')
-rw-r--r--src/libstrongswan/crypto/pkcs9.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/libstrongswan/crypto/pkcs9.h b/src/libstrongswan/crypto/pkcs9.h
index 3af000616..0c2a779a2 100644
--- a/src/libstrongswan/crypto/pkcs9.h
+++ b/src/libstrongswan/crypto/pkcs9.h
@@ -50,17 +50,9 @@ struct pkcs9_t {
* Adds a PKCS#9 attribute.
*
* @param oid OID of the attribute
- * @param value value of the attribute (gets cloned)
+ * @param value value of the attribute, with ASN1 type (gets owned)
*/
- void (*set_attribute) (pkcs9_t *this, int oid, chunk_t value);
-
- /**
- * Adds a ASN.1 encoded PKCS#9 attribute.
- *
- * @param oid OID of the attribute
- * @param value ASN.1 encoded value of the attribute (gets adopted)
- */
- void (*set_attribute_raw) (pkcs9_t *this, int oid, chunk_t value);
+ void (*add_attribute) (pkcs9_t *this, int oid, chunk_t value);
/**
* Destroys the PKCS#9 attribute list.