mimekit-ts - v1.0.0
    Preparing search index...

    Function loadPublicKeyFromPem

    • Load a public key from PEM text. Supports PUBLIC KEY (SubjectPublicKeyInfo), RSA PUBLIC KEY (PKCS#1), and derives the public key from an RSA PRIVATE KEY.

      Parameters

      • text: string

      Returns X509PublicKey