blob: b66732604733bfcb56a29cd5427aa2953a5edb43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
typedef enum gnutls_pkcs_encrypt_flags {
GNUTLS_PKCS_PLAIN=1, /* if set the private key will not
* be encrypted.
*/
GNUTLS_PKCS_USE_PKCS12_3DES=2,
GNUTLS_PKCS_USE_PKCS12_ARCFOUR=4,
GNUTLS_PKCS_USE_PKCS12_RC2_40=8,
GNUTLS_PKCS_USE_PBES2_3DES=16
} gnutls_pkcs_encrypt_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,
gnutls_x509_privkey pkey);
int gnutls_x509_privkey_cpy(gnutls_x509_privkey dst, gnutls_x509_privkey src);
|