Jaxer.Util.Certificate.CertInfo : Object
Return to: Jaxer Framework index

Information about an SSL Certificate

Platform Support

Jaxer Server Framework Jaxer Client Framework
1.0 1.0

Constructors

Constructor Action Jaxer Server Framework Jaxer Client Framework
Jaxer.Util.Certificate.CertInfo Constructor(Object socketInfo, Object sslStatus, String targetSite) : Jaxer.Util.Certificate.CertInfo
Holds information about an SSL certificate and the SSL connection that returned it. It repackages the information in the Mozilla objects used to construct it.
Show Details 1.0 1.0

Jaxer.Util.Certificate.CertInfo(Object socketInfo, Object sslStatus, String targetSite) : Jaxer.Util.Certificate.CertInfo

Holds information about an SSL certificate and the SSL connection that returned it. It repackages the information in the Mozilla objects used to construct it.

Parameters
Object socketInfo A network communication context that can be used to obtain more information about the connection relevant to this certificate. This is an instance of Mozilla's nsIInterfaceRequestor (http://www.xulplanet.com/references/xpcomref/ifaces/nsIInterfaceRequestor.html)
Object sslStatus A Mozilla object that contains information about the certificate. This is an instance of Mozilla's nsISSLStatus (http://www.xulplanet.com/references/xpcomref/ifaces/nsISSLStatus.html)
String targetSite The site name that was used to open the connection from which the certificate was returned

Returns
Jaxer.Util.Certificate.CertInfo Returns an instance of CertInfo.

Properties

Property Action Jaxer Server Framework Jaxer Client Framework
cert : Object
The Mozilla object representing an X.509 certificate. See nsIX509Cert (http://www.xulplanet.com/references/xpcomref/ifaces/nsIX509Cert.html)
No Details 1.0 no
emailAddress : String
The primary email address of the certificate, if present.
No Details 1.0 no
isDomainMismatch : Boolean
Is there a domain mismatch between the domain on this certificate and the domain that served it?
No Details 1.0 no
isNotValidAtThisTime : Boolean
Is this certificate not trusted at this time -- because its validity period has not yet started or has already ended?
No Details 1.0 no
isSelfSigned : Boolean
Is this a self-signed certificate?
No Details 1.0 no
issuerName : String
The subject identifying the issuer certificate.
No Details 1.0 no
issuerOrganization : String
The issuer subject's organization.
No Details 1.0 no
isUntrusted : Boolean
Is this certificate untrusted -- either because it has a missing or untrusted issuer or because it is self-signed?
Show Details 1.0 no
See Also

Jaxer.Util.Certificate.CertInfo.prototype.isSelfSigned

organization : String
The subject's organization.
No Details 1.0 no
subjectName : String
The subject owning the certificate.
No Details 1.0 no
targetSite : String
The site name that was used to open the connection from which the certificate was returned.
No Details 1.0 no
validity : String
This certificate's validity period: the notBefore date, followed by '/', followed by the notAfter date.
No Details 1.0 no
aptana_docs