Packagecom.hurlant.crypto.cert
Classpublic class X509Certificate
InheritanceX509Certificate Inheritance Object



Public Methods
 MethodDefined By
  
X509Certificate
  
X509Certificate
  
getCommonName():String
X509Certificate
  
Returns an issuer principal, as an opaque base64 string.
X509Certificate
  
X509Certificate
  
X509Certificate
  
X509Certificate
  
Returns a subject principal, as an opaque base64 string.
X509Certificate
  
isSelfSigned(time:Date):Boolean
X509Certificate
  
isSigned(store:X509CertificateCollection, CAs:X509CertificateCollection, time:Date = null):Boolean
X509Certificate
Constructor Detail
X509Certificate()Constructor
public function X509Certificate(p:*)



Parameters
p:*
Method Detail
getAlgorithmIdentifier()method
public function getAlgorithmIdentifier():String

Returns
String
getCommonName()method 
public function getCommonName():String

Returns
String
getIssuerPrincipal()method 
public function getIssuerPrincipal():String

Returns an issuer principal, as an opaque base64 string. This is only used to quickly find matching parent certificates. Note that this assumes X509 DER-encoded certificates are uniquely encoded, as we look for exact matches between Issuer and Subject fields.

Returns
String
getNotAfter()method 
public function getNotAfter():Date

Returns
Date
getNotBefore()method 
public function getNotBefore():Date

Returns
Date
getPublicKey()method 
public function getPublicKey():RSAKey

Returns
RSAKey
getSubjectPrincipal()method 
public function getSubjectPrincipal():String

Returns a subject principal, as an opaque base64 string. This is only used as a hash key for known certificates. Note that this assumes X509 DER-encoded certificates are uniquely encoded, as we look for exact matches between Issuer and Subject fields.

Returns
String
isSelfSigned()method 
public function isSelfSigned(time:Date):Boolean

Parameters

time:Date

Returns
Boolean
isSigned()method 
public function isSigned(store:X509CertificateCollection, CAs:X509CertificateCollection, time:Date = null):Boolean

Parameters

store:X509CertificateCollection
 
CAs:X509CertificateCollection
 
time:Date (default = null)

Returns
Boolean