PolarSSL v1.2.8
x509write.h
Go to the documentation of this file.
1 
27 #ifndef POLARSSL_X509_WRITE_H
28 #define POLARSSL_X509_WRITE_H
29 
30 #include "rsa.h"
31 
32 typedef struct _x509_req_name
33 {
34  char oid[128];
35  char name[128];
36 
38 }
40 
41 int x509_write_pubkey_der( unsigned char *buf, size_t size, rsa_context *rsa );
42 int x509_write_key_der( unsigned char *buf, size_t size, rsa_context *rsa );
43 int x509_write_cert_req( unsigned char *buf, size_t size, rsa_context *rsa,
44  x509_req_name *req_name, int hash_id );
45 
46 #endif /* POLARSSL_X509_WRITE_H */