fromPem static method

SecretKey fromPem(
  1. String pem
)

Parses a PEM string into a private key.

Implementation

static SecretKey fromPem(String pem) =>
    SecretKey._(ffi.XhpkeSecretKey.fromPem(pem: pem));