Skip to content

isSelfIssuedCertificate ​

isSelfIssuedCertificate ​

Returns true if the certificate's subject and issuer DNs are semantically equal (RFC 5280 §7.1).

ts
function isSelfIssuedCertificate(
	certificate: ParsedCertificate,
): boolean

Parameters

Released under the MIT License.