Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VerifyRequest ¶
type VerifyRequest struct {
Cert string `json:"cert"`
}
type VerifyResponse ¶
type VerifyResponse struct {
Certificate *models.CertificateResponse `json:"cert"`
TPP *models.TppResponse `json:"tpp"`
Valid bool `json:"valid"`
Scopes map[string][]string `json:"scopes"`
Reason string `json:"reason,omitempty"`
}
type VerifySvc ¶
type VerifySvc struct {
// contains filtered or unexported fields
}
func NewVerifySvc ¶
func NewVerifySvc(db db.TppRepository, httpClient vhttp.Client) *VerifySvc
func (*VerifySvc) AddIntermediate ¶
func (s *VerifySvc) AddIntermediate(cert *cert.ParsedCert)
func (*VerifySvc) AddRoot ¶
func (s *VerifySvc) AddRoot(cert *cert.ParsedCert)
func (*VerifySvc) HashExists ¶
Click to show internal directories.
Click to hide internal directories.