31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
-
+
|
+ (void)load
{
if (OFX509CertificatePrivateKeyImplementation == Nil)
OFX509CertificatePrivateKeyImplementation = self;
}
+ (instancetype)privateKeyFromIRI: (OFIRI *)IRI
+ (instancetype)privateKeyFromPEMFileAtIRI: (OFIRI *)IRI
{
void *pool = objc_autoreleasePoolPush();
OFData *data = [OFData dataWithContentsOfIRI: IRI];
gnutls_datum_t datum;
gnutls_x509_privkey_t key;
OFGnuTLSX509CertificatePrivateKey *privateKey;
|