Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load decodes and parses a private key from the provided file path and returns the private key as crypto.Signer. keyPath is expected to be a PEM formatted RSA or ECDSA private key in a PKCS #1, PKCS# 8, or SEC 1 container. The embedded PublicKey of the provided private key will be verified as an actual match for the private key and returned as a crypto.PublicKey. This function is only intended for use in administrative tooling and tests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.