ObjOpenSSL  Check-in [5deab0aa50]

Overview
Comment:Add defines for some common OIDs
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5deab0aa507104e36f25d0fdd932baad10d47a8b87d159e71ecf75015c769ce9
User & Date: florob@babelmonkeys.de on 2011-10-29 22:50:58
Other Links: manifest | tags
Context
2011-11-01
14:36
Cache subject, issuer and SANs check-in: e100eb1e52 user: florob@babelmonkeys.de tags: trunk
2011-10-29
22:50
Add defines for some common OIDs check-in: 5deab0aa50 user: florob@babelmonkeys.de tags: trunk
2011-10-24
00:06
Rename initWithStruct: to initWithX509Struct: to avoid potential conflicts check-in: 16079bc1a0 user: florob@babelmonkeys.de tags: trunk
Changes

Modified src/X509Certificate.h from [f0e2fb7daf] to [50185c693b].

21
22
23
24
25
26
27













28
29
30
31
32
33
34
 */

#include <openssl/x509.h>

#import <ObjFW/OFObject.h>
@class OFDictionary;














@interface X509Certificate: OFObject
{
	X509 *crt;
}

#ifdef OF_HAVE_PROPERTIES
// @property (opts) Type *name;







>
>
>
>
>
>
>
>
>
>
>
>
>







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 */

#include <openssl/x509.h>

#import <ObjFW/OFObject.h>
@class OFDictionary;

/* OIDs: */
#define OID_commonName @"2.5.4.3"
#define OID_surname @"2.5.4.4"
#define OID_serialNumber @"2.5.4.5"
#define OID_countryName @"2.5.4.6"
#define ID_localityName @"2.5.4.7"
#define OID_stateOrProvinceName @"2.5.4.8"
#define OID_streetAddress @"2.5.4.9"
#define OID_organizationName @"2.5.4.10"
#define OID_organizationalUnitName  @"2.5.4.11"

#define OID_SRVName @"1.3.6.1.5.5.7.8.7"

@interface X509Certificate: OFObject
{
	X509 *crt;
}

#ifdef OF_HAVE_PROPERTIES
// @property (opts) Type *name;