check.go 172 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
package attestation

import (
	"fmt"
)

func (svc *Service) Check(q []byte) error {
	if q == nil {
		return fmt.Errorf("Invalid Quote")
	}

	return svc.Attester.Check(q)
}