Documentation ¶
Index ¶
- func BuiltIn() catalog.BuiltIn
- func Fingerprint(cert *x509.Certificate) string
- func NewCredActivationChallenge(akPub, ekPub tpm2.Public) (*devid.CredActivation, []byte, error)
- func VerifyCredActivationChallenge(expectedNonce, responseNonce []byte) error
- func VerifyDevIDCertification(pubAK, pubDevID *tpm2.Public, attestData, attestSig []byte) error
- func VerifyDevIDChallenge(cert *x509.Certificate, challenge, response []byte) error
- type Config
- type Plugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fingerprint ¶
func Fingerprint(cert *x509.Certificate) string
func VerifyDevIDChallenge ¶
func VerifyDevIDChallenge(cert *x509.Certificate, challenge, response []byte) error
Types ¶
type Plugin ¶
type Plugin struct { nodeattestorv1.UnsafeNodeAttestorServer configv1.UnsafeConfigServer // contains filtered or unexported fields }
func (*Plugin) Attest ¶
func (p *Plugin) Attest(stream nodeattestorv1.NodeAttestor_AttestServer) error
func (*Plugin) Configure ¶
func (p *Plugin) Configure(_ context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
Click to show internal directories.
Click to hide internal directories.