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, ECDSA, or ML-DSA 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.
func NewDeterministicSigner ¶ added in v0.20260804.0
func NewDeterministicSigner(key *mldsa.PrivateKey) crypto.Signer
NewDeterministicSigner returns a crypto.Signer over an ML-DSA private key that signs with SignDeterministic.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.