Documentation ¶
Overview ¶
Package azure implements SecureBoot/PCR signers via Azure Key Vault.
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 Azure 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, vaultURL, certificateID, certificateVersion 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.