Class: X509Certificate

X509Certificate


new X509Certificate()

An object representing an x.509 certificate with the following structure:
{ subject: {
    countryName: 'US',
    postalCode: '10010',
    stateOrProvinceName: 'NY',
    localityName: 'New York',
    streetAddress: '902 Broadway, 4th Floor',
    organizationName: 'Nodejitsu',
    organizationalUnitName: 'PremiumSSL Wildcard',
    commonName: '*.nodejitsu.com'
  },
  issuer: {
    countryName: 'GB',
    stateOrProvinceName: 'Greater Manchester',
    localityName: 'Salford',
    organizationName: 'COMODO CA Limited',
    commonName: 'COMODO High-Assurance Secure Server CA'
  },
  notBefore: Sun Oct 28 2012 20:00:00 GMT-0400 (EDT),
  notAfter: Wed Nov 26 2014 18:59:59 GMT-0500 (EST),
  altNames: [ '*.nodejitsu.com', 'nodejitsu.com' ],
  signatureAlgorithm: 'sha1WithRSAEncryption',
  fingerPrint: 'E4:7E:24:8E:86:D2:BE:55:C0:4D:41:A1:C2:0E:06:96:56:B9:8E:EC',
  publicKey: {
    algorithm: 'rsaEncryption',
    e: '65537',
    n: '.......'
  }
}