mirror of
https://github.com/google/go-attestation.git
synced 2025-02-07 03:09:11 +00:00
Merge pull request #60 from ericchiang/key_purpose
attest: remove unused KeyPurpose exported type
This commit is contained in:
commit
59036c6bcb
@ -83,17 +83,6 @@ const (
|
|||||||
keyEncodingParameterized
|
keyEncodingParameterized
|
||||||
)
|
)
|
||||||
|
|
||||||
// KeyPurpose indicates the intended use of the key. It is implied that
|
|
||||||
// the key was created with usage restrictions to constrain its use
|
|
||||||
// to the given purpose.
|
|
||||||
type KeyPurpose uint8
|
|
||||||
|
|
||||||
// Key purposes.
|
|
||||||
const (
|
|
||||||
AttestationKey KeyPurpose = iota
|
|
||||||
StorageKey
|
|
||||||
)
|
|
||||||
|
|
||||||
type aik interface {
|
type aik interface {
|
||||||
Close(*TPM) error
|
Close(*TPM) error
|
||||||
Marshal() ([]byte, error)
|
Marshal() ([]byte, error)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user