Documentation ¶
Index ¶
- func GetEnclaveKeyAddress(quote *ias.Quote) (common.Address, error)
- func GetRARootCert() *x509.Certificate
- func SetAllowDebugEnclaves()
- func UnsetAllowDebugEnclaves()
- func VerifyReport(report string, signature []byte, signingCertDer []byte, currentTime time.Time) error
- type AttestationVerificationReport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRARootCert ¶ added in v0.1.4
func GetRARootCert() *x509.Certificate
func SetAllowDebugEnclaves ¶
func SetAllowDebugEnclaves()
SetAllowDebugEnclave will enable running and communicating with enclaves with debug flag enabled in AVR for the remainder of the process' lifetime.
func UnsetAllowDebugEnclaves ¶
func UnsetAllowDebugEnclaves()
UnsetAllowDebugEnclave will disable running and communicating with enclaves with debug flag enabled in AVR for the remainder of the process' lifetime.
Types ¶
type AttestationVerificationReport ¶
type AttestationVerificationReport struct {
ias.AttestationVerificationReport
}
func ParseAndValidateAVR ¶
func ParseAndValidateAVR(report string) (*AttestationVerificationReport, error)
func (AttestationVerificationReport) GetTimestamp ¶
func (avr AttestationVerificationReport) GetTimestamp() time.Time
Click to show internal directories.
Click to hide internal directories.