Documentation
¶
Index ¶
- func FilterRefVal(endorsements []handler.Endorsement, key string) []handler.Endorsement
- func GetPlatformReferenceIDs(scheme string, tenantID string, claims map[string]interface{}) ([]string, error)
- func GetPublicKeyFromTA(scheme string, trustAnchor string) (crypto.PublicKey, error)
- func GetTrustAnchorID(scheme string, tenantID string, claims psatoken.IClaims) (string, error)
- func MatchPlatformConfig(scheme string, evidence platform.IClaims, endorsements []handler.Endorsement) bool
- func MatchSoftware(scheme string, evidence psatoken.IClaims, endorsements []handler.Endorsement) bool
- func MustImplIDString(c psatoken.IClaims) string
- func MustInstIDString(c psatoken.IClaims) string
- func RefValLookupKey(schemeName, tenantID, implID string) string
- func SynthKeysForPlatform(scheme string, tenantID string, refVal *handler.Endorsement) ([]string, error)
- func SynthKeysFromTrustAnchors(scheme string, tenantID string, ta *handler.Endorsement) ([]string, error)
- func TaLookupKey(schemeName, tenantID, implID, instID string) string
- type CcaPlatformCfg
- type SwAttr
- type TaAttr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterRefVal ¶
func FilterRefVal(endorsements []handler.Endorsement, key string) []handler.Endorsement
func GetPlatformReferenceIDs ¶
func GetPublicKeyFromTA ¶
func GetTrustAnchorID ¶
func MatchPlatformConfig ¶
func MatchSoftware ¶
func MustImplIDString ¶
func MustInstIDString ¶
func RefValLookupKey ¶
func SynthKeysForPlatform ¶
func TaLookupKey ¶
Types ¶
type CcaPlatformCfg ¶
type SwAttr ¶
type SwAttr struct {
ImplID []byte `json:"impl-id"`
Model string `json:"hw-model"`
Vendor string `json:"hw-vendor"`
MeasDesc string `json:"measurement-desc"`
MeasurementType string `json:"measurement-type"`
MeasurementValue []byte `json:"measurement-value"`
SignerID []byte `json:"signer-id"`
Version string `json:"version"`
}
Click to show internal directories.
Click to hide internal directories.