Optional
options: CertificateOptionsOptional
Readonly
baseOptional
authorityKeyIdentifier?: { contains: Buffer; type: "context"; value: 0 }Authority Key Identifier
Optional
basicConstraints?: [ca: boolean, pathLenConstraint?: bigint]Basic Constraints
Optional
subjectKeyIdentifier?: BufferSubject Key Identifier
Optional
Readonly
chainChain, if a store is provided
Readonly
issuerThe Issuer DN of the certificate as a string --- for informational purposes only
Protected
issuerThe complete IssuerDN
Readonly
momentThe moment at which the certificate was validated
Readonly
notThe timestamp at which the certificate expires
Readonly
notThe timestamp at which the certificate becomes valid
Readonly
serialThe serial number of the certificate
Readonly
subjectThe Subject DN of the certificate as a string --- for informational purposes only
Protected
subjectThe complete SubjectDN
Readonly
subjectThe Subject of the certificate as a KeetaNet Account, derived from the public key in the certificate
Static
Readonly
BuilderThe Certificate Builder
If this certificate can be trusted to have been validated to a trusted Root CA
Assert that the certificate is valid at a given moment
Optional
moment: null | DateCheck if the certificate is issued by a given issuer
Check if the certificate is valid at a given moment
Optional
moment: null | DateCheck if the certificate is valid at a given moment
Optional
moment: null | DateOptional
reason: falseCheck if the certificate is valid at a given moment
Optional
moment: null | DateOptional
reason: trueCompare the certificate with another certificate and return true if they are the same
Protected
finalizeFinalize construction of the certificate -- if this method is replaced in a subclass, remember to call it at the end of the subclass constructor or the certificate will not be fully constructed
Get the issuer account
Get the issuer certificate (if known)
Get the root certificate (if known)
Compute a hash of the certificate
Verifies that a certificate is self-signed
Protected
processProcess an extension -- returns true if the extension was processed
This is intended to be overridden by subclasses for processing custom extensions
Protected
processProcess remaining extensions
Get the certificate as a DER encoded ArrayBuffer
Get a JSON representation of the certificate
Get the certificate as a PEM encoded string
Verifies that the certificate is was signed by the given account or certificate
Verify against a given certificate store
Optional
intermediate?: Set<Certificate>Intermediate certificates
Optional
root?: Set<Certificate>Root certificates
Optional
_ignore_seenCerts: Set<Certificate>Static
is
Basic Extensions