Merge pull request #60 from ericchiang/key_purpose

attest: remove unused KeyPurpose exported type
This commit is contained in:
Eric Chiang 2019-08-06 09:48:50 -07:00 committed by GitHub
commit 59036c6bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,17 +83,6 @@ const (
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 {
Close(*TPM) error
Marshal() ([]byte, error)