Cache subject, issuer and SANs

This commit is contained in:
Florian Zeitz 2011-11-01 15:36:17 +01:00
parent 38d625a887
commit 53932c0acb
2 changed files with 25 additions and 6 deletions

View file

@ -41,10 +41,13 @@
@interface X509Certificate: OFObject
{
X509 *crt;
OFDictionary *issuer;
OFDictionary *subject;
OFDictionary *subjectAlternativeName;
}
#ifdef OF_HAVE_PROPERTIES
// @property (opts) Type *name;
@property (readonly) OFDictionary *issuer, *subject, *subjectAlternativeName;
#endif
- initWithFile: (OFString*)file;