diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2011-07-30 04:34:09 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2011-07-30 04:34:09 +0400 |
commit | ece344bfcd2c43cfd0e5e2a2f1291ba8e969141e (patch) | |
tree | 8a0c349fe26ecfb965dd96250d1197a4ad3c0b24 /src/MumbleKit/MKCertificate.h | |
parent | 1947ec2ba171c07c45c4830aa24fdbe45abf2ac4 (diff) |
Don't expose ivars in class @interfaces in public headers.
Diffstat (limited to 'src/MumbleKit/MKCertificate.h')
-rw-r--r-- | src/MumbleKit/MKCertificate.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/MumbleKit/MKCertificate.h b/src/MumbleKit/MKCertificate.h index e793159..2eb2607 100644 --- a/src/MumbleKit/MKCertificate.h +++ b/src/MumbleKit/MKCertificate.h @@ -34,19 +34,7 @@ #define MKCertificateItemOrganization @"O" #define MKCertificateItemSerialNumber @"serialNumber" -@interface MKCertificate : NSObject { - NSData *_derCert; - NSData *_derPrivKey; - - NSDictionary *_subjectDict; - NSDictionary *_issuerDict; - - NSDate *_notAfterDate; - NSDate *_notBeforeDate; - - NSMutableArray *_emailAddresses; - NSMutableArray *_dnsEntries; -} +@interface MKCertificate : NSObject + (MKCertificate *) certificateWithCertificate:(NSData *)cert privateKey:(NSData *)privkey; + (MKCertificate *) selfSignedCertificateWithName:(NSString *)name email:(NSString *)email; |