A protocol that should be implemented by 3rd party libraries implementing TLS.
More...
#import <OFTLSSocket.h>
A protocol that should be implemented by 3rd party libraries implementing TLS.
Returns the path of the X.509 certificate file used by the TLS socket.
- Returns
- The path of the X.509 certificate file used by the TLS socket
Returns the delegate used by the TLS socket.
- Returns
- The delegate used by the TLS socket
Returns the path of the PKCS#8 private key file used by the TLS socket.
- Returns
- The path of the PKCS#8 private key file used by the TLS socket
- (const char*) privateKeyPassphrase |
|
|
|
Returns the passphrase to decrypt the PKCS#8 private key file.
- Warning
- You should not copy this to insecure memory which is swappable!
- Returns
- The passphrase to decrypt the PKCS#8 private key file
- (void) setCertificateFile: |
|
(OFString *) |
certificateFile |
|
Sets the path to the X.509 certificate file to use.
- Parameters
-
certificateFile | The path to the X.509 certificate file |
Sets a delegate for the TLS socket.
- Parameters
-
delegate | The delegate to use |
- (void) setPrivateKeyFile: |
|
(OFString *) |
privateKeyFile |
|
Sets the path to the PKCS#8 private key file to use.
- Parameters
-
privateKeyFile | The path to the PKCS#8 private key file |
- (void) setPrivateKeyPassphrase: |
|
(const char *) |
privateKeyPassphrase |
|
Sets the passphrase to decrypt the PKCS#8 private key file.
- Warning
- You have to ensure that this is in secure memory protected from swapping! This is also the reason why this is not an OFString.
- Parameters
-
privateKeyPassphrase | The passphrase to decrypt the PKCS#8 private key file |
The documentation for this protocol was generated from the following file: