SSL Certificates - Used in Secure Edition only


Information about the SSL Certificate used in the following protocols.

 

Classes

     aprFTP()

     aprHTTP()

     aprNNTP()

     aprPOP()

     aprSMTP()

     aprTelnet()

 

Contained in the aSocks Secure Edition

When a Secure Connection is made, the following Instance Variables are automatically populated:

To clear a Certificate after it has been populated, use the :ClearCert() method.

 

Variables

 

CertIsValid

Determines in the Certificate for the HTTP Resource is valid.

 

CertStatus

Status of the certificate returned by the secure server.

 

CertnStatus

Numeric value representing the status of the certificate

 

CertIssuer

A string containing information about the organization that issued the certificate.

 

CertIssuerEmail

Email address of the Issuer

 

CertIssuerCountry

Country of the Issuer

 

CertIssuerState

Certificate Issuer's State

 

CertIssuerLocale

Locale (or city) of the Issuer

 

CertIssuerOrg

Organization (ie. company name) of the Issuer

 

CertIssuerOU

Organizational Unit (ie Department) of the Issuer

 

CertIssuerCommonName

Name of the Issuer.

 

CertSubject

A string containing information about the organization that the certificate was issued to.

 

CertSubjectEmail

Email address of the organization that the certificate was issued to.

 

CertSubjectCountry

A string containing country information of the organization that the certificate was issued to.

 

CertSubjectState

A string containing State of the organization that the certificate was issued to.

 

CertSubjectLocale

A string containing the locale (or city) of the organization that the certificate was issued to.

 

CertSubjectOrg

A string containing the organization that the certificate was issued to.

 

CertSubjectOU

A string containing the Organizational Unit (ie department) information for the organization that the certificate was issued to.

 

CertSubjectCommonName

Common name of the organization that the certificate was issued to.

 

CertIssuedDate

Date that the certificate was issued by the certificate authority.

 

CertIssuedTime

Time that the certificate was issued by the certificate authority.

 

CertExpiresDate

Date that the certificate expires.

 

CertExpiresTime

Time that the certificate expires.

 

CertProtocol

Protocol selected to establish the secure connection.

 

CertnProtocol

Numeric value representing the protocol selected

 

CertCipher

A value which specifies the cipher that was selected when establishing the secure connection.

 

CertnCipher

A numeric value which specifies the cipher that was selected when establishing the secure connection.

 

CertCipherStrength

Strength (the length of the cipher key in bits) of the cipher

 

CertHash

Hash algorithm selected.

 

CertnHash

A numeric value specifying the hash algorithm selected.

 

CertHashStrength

A numeric value which specifies the hash algorithm which was selected.

 

CertKeyExchange

String specifying the key exchange algorithm selected.

 

CertnKeyExchange

Numeric value that specifies the key exchange algorithm selected.

 

 

 

Methods

 

ClearCert()

Clears the Certificate VARs leaving an empty Certificate Structure

 

GetSecurityInformation()

Return security information about the current client connection