Load an RSA or Ed25519 private key from PEM text.
Supports PKCS#1 (RSA PRIVATE KEY), PKCS#8 (PRIVATE KEY, RSA or Ed25519). Throws if no private key is found (C#: FormatException).
RSA PRIVATE KEY
PRIVATE KEY
FormatException
Load an RSA or Ed25519 private key from PEM text.
Supports PKCS#1 (
RSA PRIVATE KEY), PKCS#8 (PRIVATE KEY, RSA or Ed25519). Throws if no private key is found (C#:FormatException).