org.rococoa.cocoa.security
Interface SecurityLibrary.SSLSessionOption

Enclosing interface:
SecurityLibrary

public static interface SecurityLibrary.SSLSessionOption

native declaration : /System/Library/Frameworks/Security.framework/Headers/SecureTransport.h
enum values


Field Summary
static int kSSLSessionOptionBreakOnCertRequested
          Set this option to enable returning from SSLHandshake (with a result of
errSSLClientCertRequested) when the server requests a client certificate.
static int kSSLSessionOptionBreakOnServerAuth
          Set this option to enable returning from SSLHandshake (with a result of
errSSLServerAuthCompleted) when the server authentication portion of the
handshake is complete.
 

Field Detail

kSSLSessionOptionBreakOnServerAuth

static final int kSSLSessionOptionBreakOnServerAuth
Set this option to enable returning from SSLHandshake (with a result of
errSSLServerAuthCompleted) when the server authentication portion of the
handshake is complete. If certificate verification has been disabled
(via SSLSetEnableCertVerify), this provides an opportunity to perform
application-specific server verification before deciding to continue.

See Also:
Constant Field Values

kSSLSessionOptionBreakOnCertRequested

static final int kSSLSessionOptionBreakOnCertRequested
Set this option to enable returning from SSLHandshake (with a result of
errSSLClientCertRequested) when the server requests a client certificate.

See Also:
Constant Field Values


Copyright © 2009. All Rights Reserved.