Documentation ¶
Overview ¶
Package aws implements SecureBoot/PCR signers via AWS Key Management Service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeySigner ¶
type KeySigner struct {
// contains filtered or unexported fields
}
KeySigner implements measure.RSAKey interface.
KeySigner wraps Azure APIs to provide public key and crypto.Signer interface out of Azure Key Vault RSA key.
func NewPCRSigner ¶
NewPCRSigner creates a new PCR signer from AWS settings.
func (*KeySigner) PublicRSAKey ¶
PublicRSAKey returns the public key.
type SecureBootSigner ¶
type SecureBootSigner struct {
// contains filtered or unexported fields
}
SecureBootSigner implements pesign.CertificateSigner interface.
func NewSecureBootSigner ¶
func NewSecureBootSigner(ctx context.Context, kmsKeyID, awsRegion, certPath string) (*SecureBootSigner, error)
NewSecureBootSigner creates a new SecureBootSigner.
func (*SecureBootSigner) Certificate ¶
func (s *SecureBootSigner) Certificate() *x509.Certificate
Certificate returns the certificate.
func (*SecureBootSigner) Signer ¶
func (s *SecureBootSigner) Signer() crypto.Signer
Signer returns the signer.
Click to show internal directories.
Click to hide internal directories.