Optionaloptions: CertificateOptionsOptional ReadonlybaseOptionalauthorityKeyIdentifier?: { contains: Buffer; type: "context"; value: 0 }Authority Key Identifier
OptionalbasicConstraints?: [ca: boolean, pathLenConstraint?: bigint]Basic Constraints
OptionalsubjectKeyIdentifier?: BufferSubject Key Identifier
Optional ReadonlychainChain, if a store is provided
ReadonlyissuerThe Issuer DN of the certificate as a string --- for informational purposes only
ReadonlyissuerThe Issuer DN of the certificate --- for informational purposes only
ProtectedissuerThe complete IssuerDN
ReadonlymomentThe moment at which the certificate was validated
ReadonlynotThe timestamp at which the certificate expires
ReadonlynotThe timestamp at which the certificate becomes valid
ReadonlyserialThe serial number of the certificate
ReadonlysubjectThe Subject DN of the certificate as a string --- for informational purposes only
ReadonlysubjectThe Subject DN of the certificate --- for informational purposes only
ProtectedsubjectThe complete SubjectDN
ReadonlysubjectThe Subject of the certificate as a KeetaNet Account, derived from the public key in the certificate
Static ReadonlyBuilderThe Certificate Builder
Static ReadonlyBundleThe certificate bundle
Static ReadonlyHashThe certificate hash information
If this certificate can be trusted to have been validated to a trusted Root CA
Asserts provided certificates can construct a valid graph with no loops or orphans, and that all provided certificates can reach the root, or current certificate
Additional intermediate certificates to verify
Assert that the certificate is valid at a given moment
Optionalmoment: null | DateCheck if the certificate is issued by a given issuer
Check if the certificate is valid at a given moment
Optionalmoment: null | DateCheck if the certificate is valid at a given moment
Optionalmoment: null | DateOptionalreason: falseCheck if the certificate is valid at a given moment
Optionalmoment: null | DateOptionalreason: trueCompare the certificate with another certificate and return true if they are the same
ProtectedfinalizeFinalize 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
ProtectedprocessProcess an extension -- returns true if the extension was processed
This is intended to be overridden by subclasses for processing custom extensions
ProtectedprocessProcess remaining extensions
Get the certificate as a DER encoded ArrayBuffer
Get a JSON representation of the certificate
Optionaloptions: ToJSONSerializableOptions<boolean>Get the certificate as a PEM encoded string
The string representation of the certificate is a PEM encoded certificate -- this misses some of the internal details like chain and verified, but is usually what someone wants to see when they call toString()
Verifies that the certificate is was signed by the given account or certificate
Verify against a given certificate store
Optionalintermediate?: Set<Certificate>Intermediate certificates
Optionalroot?: Set<Certificate>Root certificates
Optional_ignore_seenCerts: Set<Certificate>Staticis
Basic Extensions