Initializervapor.jwt-kit 5.1.2JWTKit
init(pem:)
Creates an ECDSA.PrivateKey
instance from a PEM encoded private key data.
init(pem data: some DataProtocol) throws
Parameters
- pem
The PEM encoded private key data.
Returns
A new ECDSA.PrivateKey
instance with the private key.
Throws
If there is a problem parsing the private key.