NodeOPCUA API Documentation
    Preparing search index...

    Function isSelfSignedCertificate

    • true when the certificate is signed by its own key.

      The decision comes from the signature, never from the names: a CA may issue a certificate whose subject repeats its own CommonName and Organization. When the signature cannot be checked (unsupported algorithm, for example), the certificate counts as self-signed only if its SubjectKeyIdentifier equals its AuthorityKeyIdentifier.

      Parameters

      • certificate: DER

      Returns boolean