Documentation ¶
Index ¶
- type Key
- func (k *Key) Attest() (*x509.Certificate, error)
- func (k *Key) Authenticate(pin string)
- func (k *Key) Certificate() (*x509.Certificate, error)
- func (k *Key) Close()
- func (k *Key) GenerateKey(mgmtKey [24]byte, slot *empty, opts *empty) (*empty, error)
- func (k *Key) GetAttestationCertificate() (*x509.Certificate, error)
- func (k *Key) Reset() error
- func (k *Key) SetManagementKey(old, new [24]byte) error
- func (k *Key) SetPIN(old, new string) error
- func (k *Key) SetPUK(old, new string) error
- func (k *Key) SetSlot(slot string)
- func (k *Key) SignerVerifier() (signature.SignerVerifier, error)
- func (k *Key) Unblock(puk, newPIN string) error
- func (k *Key) Verifier() (signature.Verifier, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶ added in v1.0.0
type Key struct{}
func GetKeyWithSlot ¶ added in v1.0.0
func (*Key) Authenticate ¶ added in v1.0.0
func (*Key) Certificate ¶ added in v1.0.0
func (k *Key) Certificate() (*x509.Certificate, error)
func (*Key) GenerateKey ¶ added in v1.0.0
func (*Key) GetAttestationCertificate ¶ added in v1.0.0
func (k *Key) GetAttestationCertificate() (*x509.Certificate, error)
func (*Key) SetManagementKey ¶ added in v1.0.0
func (*Key) SignerVerifier ¶ added in v1.0.0
func (k *Key) SignerVerifier() (signature.SignerVerifier, error)
Click to show internal directories.
Click to hide internal directories.