Class X509Certificate
dw.crypto
Class X509Certificate
Object
dw.crypto.CertificateRef
dw.crypto.X509Certificate
Represents an X.509 public key certificate as defined in RFC 5280.

It provides access to the standard fields of an X.509 certificate including version, serial number, validity period, distinguished names, and signature algorithm.

Properties
issuerDN  :  String  (Read Only)
The X.500 distinguished name of the entity that signed this certificate.
notAfter  :  Date  (Read Only)
The end date of the certificate validity period.
notBefore  :  Date  (Read Only)
The start date of the certificate validity period.
serialNumber  :  String  (Read Only)
The certificate serial number in string format. The serial number is a unique positive integer assigned by the CA to each certificate.
sigAlgName  :  String  (Read Only)
The algorithm used to sign this certificate. The name follows the format defined in RFC 5280 (e.g., "SHA256withRSA", "SHA384withECDSA").
subjectDN  :  String  (Read Only)
The X.500 distinguished name of the entity this certificate belongs to.
version  :  Number  (Read Only)
The X.509 certificate version number.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getIssuerDN() : String
Returns the X.500 distinguished name of the entity that signed this certificate.
getNotAfter() : Date
Returns the end date of the certificate validity period.
getNotBefore() : Date
Returns the start date of the certificate validity period.
getSerialNumber() : String
Returns the certificate serial number in string format.
getSigAlgName() : String
Returns the algorithm used to sign this certificate.
getSubjectDN() : String
Returns the X.500 distinguished name of the entity this certificate belongs to.
getVersion() : Number
Returns the X.509 certificate version number.
Methods inherited from class CertificateRef
Method Detail
getIssuerDN
getIssuerDN() : String
Returns the X.500 distinguished name of the entity that signed this certificate.
Returns:
the issuer's X.500 distinguished name

getNotAfter
getNotAfter() : Date
Returns the end date of the certificate validity period.
Returns:
the date after which this certificate is not valid

getNotBefore
getNotBefore() : Date
Returns the start date of the certificate validity period.
Returns:
the date before which this certificate is not valid

getSerialNumber
getSerialNumber() : String
Returns the certificate serial number in string format. The serial number is a unique positive integer assigned by the CA to each certificate.
Returns:
the certificate serial number as a string

getSigAlgName
getSigAlgName() : String
Returns the algorithm used to sign this certificate. The name follows the format defined in RFC 5280 (e.g., "SHA256withRSA", "SHA384withECDSA").
Returns:
the signature algorithm name

getSubjectDN
getSubjectDN() : String
Returns the X.500 distinguished name of the entity this certificate belongs to.
Returns:
the subject's X.500 distinguished name

getVersion
getVersion() : Number
Returns the X.509 certificate version number.
Returns:
certificate version (typically 1, 2, or 3)