Go to Latest
class X509Certificate
import { X509Certificate } from "https://dotland.deno.dev/std@0.177.0/node/crypto.ts";

Constructors

new
X509Certificate(buffer: BinaryLike)

Properties

readonly
ca: boolean
readonly
fingerprint: string
readonly
fingerprint256: string
readonly
fingerprint512: string
readonly
infoAccess: string | undefined
readonly
issuer: string
readonly
issuerCertificate: X509Certificate | undefined
readonly
keyUsage: string[]
readonly
publicKey: KeyObject
readonly
raw: Buffer
readonly
serialNumber: string
readonly
subject: string
readonly
subjectAltName: string | undefined
readonly
validFrom: string
readonly
validTo: string

Methods

checkEmail(_email: string, _options?: Pick<X509CheckOptions, "subject">): string | undefined
checkHost(_name: string, _options?: X509CheckOptions): string | undefined
checkIP(_ip: string): string | undefined
checkIssued(_otherCert: X509Certificate): boolean
checkPrivateKey(_privateKey: KeyObject): boolean
toJSON(): string
toString(): string
verify(_publicKey: KeyObject): boolean
import X509Certificate
import { X509Certificate } from "https://dotland.deno.dev/std@0.177.0/node/crypto.ts";