aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/credentials/keys/key_encoding.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-08-24 14:09:18 +0200
committerMartin Willi <martin@strongswan.org>2009-08-26 11:23:52 +0200
commite35c3e2a032975d1accf04376d880127f7743889 (patch)
tree84e362daf1982d836b25f347bad74de5440e86ee /src/libstrongswan/credentials/keys/key_encoding.h
parentcbd51389481b0b0ce11261cb16ae2a2e9c3939bb (diff)
downloadstrongswan-e35c3e2a032975d1accf04376d880127f7743889.tar.bz2
strongswan-e35c3e2a032975d1accf04376d880127f7743889.tar.xz
updated openssl plugin to new private/public key API, use encoder framework
Diffstat (limited to 'src/libstrongswan/credentials/keys/key_encoding.h')
-rw-r--r--src/libstrongswan/credentials/keys/key_encoding.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstrongswan/credentials/keys/key_encoding.h b/src/libstrongswan/credentials/keys/key_encoding.h
index a8fbfa65a..ea97a1f2d 100644
--- a/src/libstrongswan/credentials/keys/key_encoding.h
+++ b/src/libstrongswan/credentials/keys/key_encoding.h
@@ -102,6 +102,14 @@ enum key_encoding_part_t {
KEY_PART_RSA_EXP2,
/** coefficient of RSA key, coeff */
KEY_PART_RSA_COEFF,
+ /** a DER encoded RSA public key */
+ KEY_PART_RSA_PUB_ASN1_DER,
+ /** a DER encoded RSA private key */
+ KEY_PART_RSA_PRIV_ASN1_DER,
+ /** a DER encoded ECDSA public key */
+ KEY_PART_ECDSA_PUB_ASN1_DER,
+ /** a DER encoded ECDSA private key */
+ KEY_PART_ECDSA_PRIV_ASN1_DER,
KEY_PART_END,
};