Class X509
Version
1.0.1 (08 May 2012).
X.509 certificate class
Defined in: x509-1.1.js.
Constructor Attributes | Constructor Name and Description |
---|---|
X509()
X.509 certificate class.
|
Field Attributes | Field Name and Description |
---|---|
hexacedimal string for X.509 certificate.
|
|
Tom Wu's RSAKey object
|
|
hexadecimal string for public exponent of RSA public key
|
|
hexadecimal string for modulus of RSA public key
|
Method Attributes | Method Name and Description |
---|---|
get hexadecimal string of issuer field of certificate.
|
|
get string of issuer field of certificate.
|
|
get notAfter field string of certificate.
|
|
get notBefore field string of certificate.
|
|
get hexadecimal string of serialNumber field of certificate.
|
|
get hexadecimal string of subject field of certificate.
|
|
get string of subject field of certificate.
|
|
readCertPEM(sCertPEM)
read PEM formatted X.509 certificate from string.
|
Field Detail
{String}
hex
hexacedimal string for X.509 certificate.
{RSAKey}
subjectPublicKeyRSA
Tom Wu's RSAKey object
{String}
subjectPublicKeyRSA_hE
hexadecimal string for public exponent of RSA public key
{String}
subjectPublicKeyRSA_hN
hexadecimal string for modulus of RSA public key
Method Detail
getIssuerHex()
get hexadecimal string of issuer field of certificate.
getIssuerString()
get string of issuer field of certificate.
getNotAfter()
get notAfter field string of certificate.
getNotBefore()
get notBefore field string of certificate.
getSerialNumberHex()
get hexadecimal string of serialNumber field of certificate.
getSubjectHex()
get hexadecimal string of subject field of certificate.
getSubjectString()
get string of subject field of certificate.
readCertPEM(sCertPEM)
read PEM formatted X.509 certificate from string.
- Parameters:
- {String} sCertPEM
- string for PEM formatted X.509 certificate