59 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
59 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
60 * ECDH support in OpenSSL originally developed by |
60 * ECDH support in OpenSSL originally developed by |
61 * SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project. |
61 * SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project. |
62 */ |
62 */ |
63 /* |
63 /* |
64 © Portions copyright (c) 2006 Nokia Corporation. All rights reserved. |
64 © Portions copyright (c) 2006-2010 Nokia Corporation. All rights reserved. |
65 */ |
65 */ |
66 |
66 |
67 #ifndef HEADER_X509_H |
67 #ifndef HEADER_X509_H |
68 #define HEADER_X509_H |
68 #define HEADER_X509_H |
69 |
69 |
1025 const ASN1_OBJECT *obj, int type, |
1025 const ASN1_OBJECT *obj, int type, |
1026 const unsigned char *bytes, int len); |
1026 const unsigned char *bytes, int len); |
1027 IMPORT_C int X509_REQ_add1_attr_by_NID(X509_REQ *req, |
1027 IMPORT_C int X509_REQ_add1_attr_by_NID(X509_REQ *req, |
1028 int nid, int type, |
1028 int nid, int type, |
1029 const unsigned char *bytes, int len); |
1029 const unsigned char *bytes, int len); |
1030 int X509_REQ_add1_attr_by_txt(X509_REQ *req, |
1030 IMPORT_C int X509_REQ_add1_attr_by_txt(X509_REQ *req, |
1031 const char *attrname, int type, |
1031 const char *attrname, int type, |
1032 const unsigned char *bytes, int len); |
1032 const unsigned char *bytes, int len); |
1033 |
1033 |
1034 IMPORT_C int X509_CRL_set_version(X509_CRL *x, long version); |
1034 IMPORT_C int X509_CRL_set_version(X509_CRL *x, long version); |
1035 IMPORT_C int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name); |
1035 IMPORT_C int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name); |