NSSLGetPeerCertSize

Syntax

#include <cafe.h>
#include <cafe/nssl/nsslclient.h>

int NSSLGetPeerCertSize(NSSLConnectionHandle connection);

Parameters

connection A handle to an SSL connection to be queried.

Return Values

0 or a positive value indicates the length of the peer certificate in DER form, negative error code of type NSSL_RVAL on failure.

Description

Gets the size of the peer certificate in DER form.

Do Not Call From

Callbacks Do not call this function from any callback function.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.

See Also

NSSLGetPeerCert

Revision History

2012/08/16 Cleanup pass.
2012/04/06 Initial version.


CONFIDENTIAL