Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type P256 ¶
type P256 struct {
PrivateKey *ecdsa.PrivateKey
PublicKey *ecdsa.PublicKey
Attrs any
}
func NewP256Signer ¶
func NewP256Signer(key *ecdsa.PrivateKey) *P256
NewP256Signer returns a signing algorithm based on the provided ecdsa private key.
func NewP256Verifier ¶
NewP256Verifier returns a verification algorithm based on the provided ecdsa public key.
func (P256) Attributes ¶
Attributes returns server-side attributes associated with the key.
func (P256) ContentDigest ¶
func (a P256) ContentDigest() contentdigest.Digester
type StaticKeyDirectory ¶
StaticKeyDirectory implements the verifier.KeyDirectory interface. It returns a static key regardless of the provided Key ID argument.
Click to show internal directories.
Click to hide internal directories.