Documentation ¶
Index ¶
- type CertificateRequest
- type CertificateRequestImpl
- func (c *CertificateRequestImpl) GetAKI() string
- func (c *CertificateRequestImpl) GetExpiredTimeEnd() *time.Time
- func (c *CertificateRequestImpl) GetExpiredTimeStart() *time.Time
- func (c *CertificateRequestImpl) GetID() string
- func (c *CertificateRequestImpl) GetNotExpired() bool
- func (c *CertificateRequestImpl) GetNotRevoked() bool
- func (c *CertificateRequestImpl) GetRevokedTimeEnd() *time.Time
- func (c *CertificateRequestImpl) GetRevokedTimeStart() *time.Time
- func (c *CertificateRequestImpl) GetSerial() string
- type RequestContext
- type TimeFilters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateRequest ¶
type CertificateRequest interface { GetID() string GetSerial() string GetAKI() string GetNotRevoked() bool GetNotExpired() bool GetRevokedTimeStart() *time.Time GetRevokedTimeEnd() *time.Time GetExpiredTimeStart() *time.Time GetExpiredTimeEnd() *time.Time }
CertificateRequest defines the properties of a certificate request
type CertificateRequestImpl ¶
type CertificateRequestImpl struct { ID string SerialNumber string Aki string Notexpired bool Notrevoked bool ExpiredTimeStart *time.Time ExpiredTimeEnd *time.Time RevokedTimeStart *time.Time RevokedTimeEnd *time.Time }
CertificateRequestImpl defines the properties of a certificate request
func NewCertificateRequest ¶
func NewCertificateRequest(ctx RequestContext) (*CertificateRequestImpl, error)
NewCertificateRequest returns a certificate request object
func (*CertificateRequestImpl) GetAKI ¶
func (c *CertificateRequestImpl) GetAKI() string
GetAKI returns the AKI filter value
func (*CertificateRequestImpl) GetExpiredTimeEnd ¶
func (c *CertificateRequestImpl) GetExpiredTimeEnd() *time.Time
GetExpiredTimeEnd returns the ending expiration time filter value
func (*CertificateRequestImpl) GetExpiredTimeStart ¶
func (c *CertificateRequestImpl) GetExpiredTimeStart() *time.Time
GetExpiredTimeStart returns the starting expiration time filter value
func (*CertificateRequestImpl) GetID ¶
func (c *CertificateRequestImpl) GetID() string
GetID returns the enrollment id filter value
func (*CertificateRequestImpl) GetNotExpired ¶
func (c *CertificateRequestImpl) GetNotExpired() bool
GetNotExpired returns the notexpired bool value
func (*CertificateRequestImpl) GetNotRevoked ¶
func (c *CertificateRequestImpl) GetNotRevoked() bool
GetNotRevoked returns the notrevoked bool value
func (*CertificateRequestImpl) GetRevokedTimeEnd ¶
func (c *CertificateRequestImpl) GetRevokedTimeEnd() *time.Time
GetRevokedTimeEnd returns the ending revoked time filter value
func (*CertificateRequestImpl) GetRevokedTimeStart ¶
func (c *CertificateRequestImpl) GetRevokedTimeStart() *time.Time
GetRevokedTimeStart returns the starting revoked time filter value
func (*CertificateRequestImpl) GetSerial ¶
func (c *CertificateRequestImpl) GetSerial() string
GetSerial returns the serial number filter value
type RequestContext ¶
type RequestContext interface { GetQueryParm(string) string GetBoolQueryParm(string) (bool, error) }
RequestContext describes the request
type TimeFilters ¶
type TimeFilters struct {
// contains filtered or unexported fields
}
TimeFilters defines the various times that can be used as filters