encoding public EC keys is not really possible without subjectPublicKeyInfo

This commit is contained in:
Martin Willi
2009-08-26 16:15:38 +02:00
parent 6a8791cd1f
commit 083142c4a0
3 changed files with 81 additions and 37 deletions
@@ -72,9 +72,11 @@ enum key_encoding_type_t {
/** PGPv4 fingerprint */
KEY_ID_PGPV4,
/** PKCS#1/ASN.1 key encoding */
/** PKCS#1 and similar ASN.1 key encoding */
KEY_PUB_ASN1_DER,
KEY_PRIV_ASN1_DER,
/** subjectPublicKeyInfo encoding */
KEY_PUB_SPKI_ASN1_DER,
/** PEM oncoded PKCS#1 key */
KEY_PUB_PEM,
KEY_PRIV_PEM,