Documentation
¶
Index ¶
Constants ¶
View Source
const (
KLV_LENGTH_SIZE = 4
)
Variables ¶
View Source
var (
OidKeyBag = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 12, 10, 1, 1}
)
Functions ¶
Types ¶
type TEEProof ¶
type TEEProof struct {
VerificationKey bccrypto.PublicKey
VerificationKeyPEM []byte
EncryptionKey bccrypto.EncryptKey
EncryptionKeyPEM []byte
Certificate *bcx509.Certificate
CertificateDER []byte
Report []byte
Challenge []byte
Signature []byte
}
func AttestationVerify ¶
func AttestationVerifyComponents ¶
func AttestationVerifyComponents(challenge, signature, report []byte, certificate *bcx509.Certificate, verificationKey bccrypto.PublicKey, encryptionKey bccrypto.EncryptKey, certOpts bcx509.VerifyOptions) (bool, *TEEProof, error)
Source Files
¶
- tools.go
- verify.go
Click to show internal directories.
Click to hide internal directories.