mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Make TLS client certificate issuer/owner names available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40508 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
65af5b5ad6
commit
9400f9105d
6 changed files with 116 additions and 7 deletions
|
@ -263,6 +263,18 @@ GS_EXPORT NSString * const NSFileHandleOperationException;
|
|||
*/
|
||||
- (BOOL) sslHandshakeEstablished: (BOOL*)result outgoing: (BOOL)isOutgoing;
|
||||
|
||||
/** If the session verified a certificate from the remote end, returns the
|
||||
* name of the certificate issuer in the form "C=xxxx,O=yyyy,CN=zzzz" as
|
||||
* described in RFC2253. Otherwise returns nil.
|
||||
*/
|
||||
- (NSString*) sslIssuer;
|
||||
|
||||
/** If the session verified a certificate from the remote end, returns the
|
||||
* name of the certificate owner in the form "C=xxxx,O=yyyy,CN=zzzz" as
|
||||
* described in RFC2253. Otherwise returns nil.
|
||||
*/
|
||||
- (NSString*) sslOwner;
|
||||
|
||||
/** Deprecated ... use -sslSetOptions: instead
|
||||
*/
|
||||
- (void) sslSetCertificate: (NSString*)certFile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue