diff options
Diffstat (limited to 'lib/x509/privkey.h')
-rw-r--r-- | lib/x509/privkey.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/x509/privkey.h b/lib/x509/privkey.h index e1111c75f7..4ba4e15fb5 100644 --- a/lib/x509/privkey.h +++ b/lib/x509/privkey.h @@ -1,3 +1,9 @@ +typedef enum gnutls_privkey_pkcs8_flags { + GNUTLS_PKCS8_PLAIN=1, /* if set the private key will not + * be encrypted. + */ +} gnutls_privkey_pkcs8_flags; + int gnutls_x509_privkey_import(gnutls_x509_privkey key, const gnutls_datum * data, gnutls_x509_crt_fmt format); ASN1_TYPE _gnutls_privkey_decode_pkcs1_rsa_key( const gnutls_datum *raw_key, |