31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
*/
@interface OFX509CertificatePrivateKey: OFObject
{
OF_RESERVE_IVARS(OFX509Certificate, 4)
}
/**
* @brief Returns a private key from the specified IRI.
*
* @param IRI The IRI to retrieve the private key from
*
* @throw OFInitializationFailedException Initializing the private key failed
* @throw OFOpenItemFailedException Opening the item failed
* @throw OFUnsupportedProtocolException The specified IRI is not supported
* @throw OFReadFailedException Reading the item failed
* @throw OFInvalidFormatException The format of the item is invalid
*/
+ (instancetype)privateKeyFromIRI: (OFIRI *)IRI;
@end
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief The implementation for OFX509CertificatePrivateKey to use.
|
|
|
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
*/
@interface OFX509CertificatePrivateKey: OFObject
{
OF_RESERVE_IVARS(OFX509Certificate, 4)
}
/**
* @brief Returns the private key from the PEM file at the specified IRI.
*
* @param IRI The IRI to retrieve the private key from
*
* @throw OFInitializationFailedException Initializing the private key failed
* @throw OFOpenItemFailedException Opening the item failed
* @throw OFUnsupportedProtocolException The specified IRI is not supported
* @throw OFReadFailedException Reading the item failed
* @throw OFInvalidFormatException The format of the item is invalid
*/
+ (instancetype)privateKeyFromPEMFileAtIRI: (OFIRI *)IRI;
@end
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief The implementation for OFX509CertificatePrivateKey to use.
|