tango.net.util.PKI

Members

Aliases

SSLVerifyCallback
alias SSLVerifyCallback = int function(int, X509_STORE_CTX* ctx)

SSLVerifyCallback is passed into SSLCtx and is called during handshake when OpenSSL is doing certificate validation.

Classes

Certificate
class Certificate

Certificate provides necessary functionality to create and read X509 Certificates.

CertificateStore
class CertificateStore

CertificateStore stores numerous X509 Certificates for use in CRL lists, CA lists, etc.

CertificateStoreCtx
class CertificateStoreCtx

The CertificateStoreCtx is a wrapper to the SSLVerifyCallback X509_STORE_CTX parameter.

PrivateKey
class PrivateKey

Generates a RSA public/private key pair for use with X509 Certificates and other applications search as S/MIME, DomainKeys, etc.

PublicKey
class PublicKey

PublicKey contains the RSA public key from a private/public keypair.

SSLCtx
class SSLCtx

SSLCtx is provided to SSLSocket and SSLServerSocket.

Variables

SSL_SESS_CACHE_SERVER
int SSL_SESS_CACHE_SERVER;
Undocumented in source.
SSL_VERIFY_CLIENT_ONCE
int SSL_VERIFY_CLIENT_ONCE;

Only validate once, do not re-validate during handshake renegotiation.

SSL_VERIFY_FAIL_IF_NO_PEER_CERT
int SSL_VERIFY_FAIL_IF_NO_PEER_CERT;

Ask for a peer certificate, however, fail if it is not provided

SSL_VERIFY_NONE
int SSL_VERIFY_NONE;

Do not verify the peer certificate. Nor fail if it's not provided (server only).

SSL_VERIFY_PEER
int SSL_VERIFY_PEER;

Ask for a peer certificate, but do not fail if it is not provided.

t1
auto t1;
Undocumented in source.
t2
auto t2;
Undocumented in source.

Meta

License

BSD style: $(LICENSE)

Authors

Jeff Davey <j@submersion.com>