Documentation
¶
Index ¶
- func AdaptCertRevocations(t CertRevocations) *rpc.Interface
- type CertRevocations
- type CertRevocationsClient
- type CertRevocationsClientListResults
- type CertRevocationsClientRevokeResults
- type CertRevocationsList
- type CertRevocationsListArgs
- type CertRevocationsListResults
- func (v *CertRevocationsListResults) MarshalCBOR() ([]byte, error)
- func (v *CertRevocationsListResults) MarshalJSON() ([]byte, error)
- func (v *CertRevocationsListResults) SetRevocations(revocations []*Revocation)
- func (v *CertRevocationsListResults) UnmarshalCBOR(data []byte) error
- func (v *CertRevocationsListResults) UnmarshalJSON(data []byte) error
- type CertRevocationsRevoke
- type CertRevocationsRevokeArgs
- func (v *CertRevocationsRevokeArgs) HasReason() bool
- func (v *CertRevocationsRevokeArgs) HasSerial() bool
- func (v *CertRevocationsRevokeArgs) MarshalCBOR() ([]byte, error)
- func (v *CertRevocationsRevokeArgs) MarshalJSON() ([]byte, error)
- func (v *CertRevocationsRevokeArgs) Reason() string
- func (v *CertRevocationsRevokeArgs) Serial() string
- func (v *CertRevocationsRevokeArgs) UnmarshalCBOR(data []byte) error
- func (v *CertRevocationsRevokeArgs) UnmarshalJSON(data []byte) error
- type CertRevocationsRevokeResults
- func (v *CertRevocationsRevokeResults) MarshalCBOR() ([]byte, error)
- func (v *CertRevocationsRevokeResults) MarshalJSON() ([]byte, error)
- func (v *CertRevocationsRevokeResults) SetAlreadyRevoked(already_revoked bool)
- func (v *CertRevocationsRevokeResults) SetRevocation(revocation *Revocation)
- func (v *CertRevocationsRevokeResults) UnmarshalCBOR(data []byte) error
- func (v *CertRevocationsRevokeResults) UnmarshalJSON(data []byte) error
- type Revocation
- func (v *Revocation) HasReason() bool
- func (v *Revocation) HasRevokedAt() bool
- func (v *Revocation) HasRevokedBy() bool
- func (v *Revocation) HasSerial() bool
- func (v *Revocation) MarshalCBOR() ([]byte, error)
- func (v *Revocation) MarshalJSON() ([]byte, error)
- func (v *Revocation) Reason() string
- func (v *Revocation) RevokedAt() string
- func (v *Revocation) RevokedBy() string
- func (v *Revocation) Serial() string
- func (v *Revocation) SetReason(reason string)
- func (v *Revocation) SetRevokedAt(revoked_at string)
- func (v *Revocation) SetRevokedBy(revoked_by string)
- func (v *Revocation) SetSerial(serial string)
- func (v *Revocation) UnmarshalCBOR(data []byte) error
- func (v *Revocation) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptCertRevocations ¶
func AdaptCertRevocations(t CertRevocations) *rpc.Interface
Types ¶
type CertRevocations ¶
type CertRevocations interface {
Revoke(ctx context.Context, state *CertRevocationsRevoke) error
List(ctx context.Context, state *CertRevocationsList) error
}
type CertRevocationsClient ¶
func NewCertRevocationsClient ¶
func NewCertRevocationsClient(client rpc.Client) *CertRevocationsClient
func (CertRevocationsClient) Export ¶
func (c CertRevocationsClient) Export() CertRevocations
func (CertRevocationsClient) List ¶
func (v CertRevocationsClient) List(ctx context.Context) (*CertRevocationsClientListResults, error)
func (CertRevocationsClient) Revoke ¶
func (v CertRevocationsClient) Revoke(ctx context.Context, serial string, reason string) (*CertRevocationsClientRevokeResults, error)
type CertRevocationsClientListResults ¶
type CertRevocationsClientListResults struct {
// contains filtered or unexported fields
}
func (*CertRevocationsClientListResults) HasRevocations ¶
func (v *CertRevocationsClientListResults) HasRevocations() bool
func (*CertRevocationsClientListResults) Revocations ¶
func (v *CertRevocationsClientListResults) Revocations() []*Revocation
type CertRevocationsClientRevokeResults ¶
type CertRevocationsClientRevokeResults struct {
// contains filtered or unexported fields
}
func (*CertRevocationsClientRevokeResults) AlreadyRevoked ¶
func (v *CertRevocationsClientRevokeResults) AlreadyRevoked() bool
func (*CertRevocationsClientRevokeResults) HasAlreadyRevoked ¶
func (v *CertRevocationsClientRevokeResults) HasAlreadyRevoked() bool
func (*CertRevocationsClientRevokeResults) HasRevocation ¶
func (v *CertRevocationsClientRevokeResults) HasRevocation() bool
func (*CertRevocationsClientRevokeResults) Revocation ¶
func (v *CertRevocationsClientRevokeResults) Revocation() *Revocation
type CertRevocationsList ¶
func (*CertRevocationsList) Args ¶
func (t *CertRevocationsList) Args() *CertRevocationsListArgs
func (*CertRevocationsList) Results ¶
func (t *CertRevocationsList) Results() *CertRevocationsListResults
type CertRevocationsListArgs ¶
type CertRevocationsListArgs struct {
// contains filtered or unexported fields
}
func (*CertRevocationsListArgs) MarshalCBOR ¶
func (v *CertRevocationsListArgs) MarshalCBOR() ([]byte, error)
func (*CertRevocationsListArgs) MarshalJSON ¶
func (v *CertRevocationsListArgs) MarshalJSON() ([]byte, error)
func (*CertRevocationsListArgs) UnmarshalCBOR ¶
func (v *CertRevocationsListArgs) UnmarshalCBOR(data []byte) error
func (*CertRevocationsListArgs) UnmarshalJSON ¶
func (v *CertRevocationsListArgs) UnmarshalJSON(data []byte) error
type CertRevocationsListResults ¶
type CertRevocationsListResults struct {
// contains filtered or unexported fields
}
func (*CertRevocationsListResults) MarshalCBOR ¶
func (v *CertRevocationsListResults) MarshalCBOR() ([]byte, error)
func (*CertRevocationsListResults) MarshalJSON ¶
func (v *CertRevocationsListResults) MarshalJSON() ([]byte, error)
func (*CertRevocationsListResults) SetRevocations ¶
func (v *CertRevocationsListResults) SetRevocations(revocations []*Revocation)
func (*CertRevocationsListResults) UnmarshalCBOR ¶
func (v *CertRevocationsListResults) UnmarshalCBOR(data []byte) error
func (*CertRevocationsListResults) UnmarshalJSON ¶
func (v *CertRevocationsListResults) UnmarshalJSON(data []byte) error
type CertRevocationsRevoke ¶
func (*CertRevocationsRevoke) Args ¶
func (t *CertRevocationsRevoke) Args() *CertRevocationsRevokeArgs
func (*CertRevocationsRevoke) Results ¶
func (t *CertRevocationsRevoke) Results() *CertRevocationsRevokeResults
type CertRevocationsRevokeArgs ¶
type CertRevocationsRevokeArgs struct {
// contains filtered or unexported fields
}
func (*CertRevocationsRevokeArgs) HasReason ¶
func (v *CertRevocationsRevokeArgs) HasReason() bool
func (*CertRevocationsRevokeArgs) HasSerial ¶
func (v *CertRevocationsRevokeArgs) HasSerial() bool
func (*CertRevocationsRevokeArgs) MarshalCBOR ¶
func (v *CertRevocationsRevokeArgs) MarshalCBOR() ([]byte, error)
func (*CertRevocationsRevokeArgs) MarshalJSON ¶
func (v *CertRevocationsRevokeArgs) MarshalJSON() ([]byte, error)
func (*CertRevocationsRevokeArgs) Reason ¶
func (v *CertRevocationsRevokeArgs) Reason() string
func (*CertRevocationsRevokeArgs) Serial ¶
func (v *CertRevocationsRevokeArgs) Serial() string
func (*CertRevocationsRevokeArgs) UnmarshalCBOR ¶
func (v *CertRevocationsRevokeArgs) UnmarshalCBOR(data []byte) error
func (*CertRevocationsRevokeArgs) UnmarshalJSON ¶
func (v *CertRevocationsRevokeArgs) UnmarshalJSON(data []byte) error
type CertRevocationsRevokeResults ¶
type CertRevocationsRevokeResults struct {
// contains filtered or unexported fields
}
func (*CertRevocationsRevokeResults) MarshalCBOR ¶
func (v *CertRevocationsRevokeResults) MarshalCBOR() ([]byte, error)
func (*CertRevocationsRevokeResults) MarshalJSON ¶
func (v *CertRevocationsRevokeResults) MarshalJSON() ([]byte, error)
func (*CertRevocationsRevokeResults) SetAlreadyRevoked ¶
func (v *CertRevocationsRevokeResults) SetAlreadyRevoked(already_revoked bool)
func (*CertRevocationsRevokeResults) SetRevocation ¶
func (v *CertRevocationsRevokeResults) SetRevocation(revocation *Revocation)
func (*CertRevocationsRevokeResults) UnmarshalCBOR ¶
func (v *CertRevocationsRevokeResults) UnmarshalCBOR(data []byte) error
func (*CertRevocationsRevokeResults) UnmarshalJSON ¶
func (v *CertRevocationsRevokeResults) UnmarshalJSON(data []byte) error
type Revocation ¶
type Revocation struct {
// contains filtered or unexported fields
}
func (*Revocation) HasReason ¶
func (v *Revocation) HasReason() bool
func (*Revocation) HasRevokedAt ¶
func (v *Revocation) HasRevokedAt() bool
func (*Revocation) HasRevokedBy ¶
func (v *Revocation) HasRevokedBy() bool
func (*Revocation) HasSerial ¶
func (v *Revocation) HasSerial() bool
func (*Revocation) MarshalCBOR ¶
func (v *Revocation) MarshalCBOR() ([]byte, error)
func (*Revocation) MarshalJSON ¶
func (v *Revocation) MarshalJSON() ([]byte, error)
func (*Revocation) Reason ¶
func (v *Revocation) Reason() string
func (*Revocation) RevokedAt ¶
func (v *Revocation) RevokedAt() string
func (*Revocation) RevokedBy ¶
func (v *Revocation) RevokedBy() string
func (*Revocation) Serial ¶
func (v *Revocation) Serial() string
func (*Revocation) SetReason ¶
func (v *Revocation) SetReason(reason string)
func (*Revocation) SetRevokedAt ¶
func (v *Revocation) SetRevokedAt(revoked_at string)
func (*Revocation) SetRevokedBy ¶
func (v *Revocation) SetRevokedBy(revoked_by string)
func (*Revocation) SetSerial ¶
func (v *Revocation) SetSerial(serial string)
func (*Revocation) UnmarshalCBOR ¶
func (v *Revocation) UnmarshalCBOR(data []byte) error
func (*Revocation) UnmarshalJSON ¶
func (v *Revocation) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.