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
- func (p *Plugin) Attest(stream nodeattestorv1.NodeAttestor_AttestServer) error
- func (p *Plugin) Configure(_ context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
- func (p *Plugin) Validate(ctx context.Context, req *configv1.ValidateRequest) (*configv1.ValidateResponse, error)
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)
func (*Plugin) Validate ¶ added in v1.11.0
func (p *Plugin) Validate(ctx context.Context, req *configv1.ValidateRequest) (*configv1.ValidateResponse, error)
Click to show internal directories.
Click to hide internal directories.