mirror of
https://github.com/hanzoai/ca.git
synced 2026-11-03 18:08:27 +00:00
215 lines
6.4 KiB
Go
215 lines
6.4 KiB
Go
// Code generated by protoc-gen-go-json. DO NOT EDIT.
|
|
// source: backend.proto
|
|
|
|
package privpb
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *RegisterIssuerRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *RegisterIssuerRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *ImportIssuerRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *ImportIssuerRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *ActivateIssuerRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *ActivateIssuerRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *GetIssuerRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *GetIssuerRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *ListIssuersRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *ListIssuersRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *UpdateIssuerRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *UpdateIssuerRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *RegisterRootRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *RegisterRootRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *ListRootsRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *ListRootsRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *RegisterProfileRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *RegisterProfileRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *GetProfileRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *GetProfileRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *ListProfilesRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *ListProfilesRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *DeleteProfileRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *DeleteProfileRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *SignCertificateRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *SignCertificateRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *UpdateCertificateLabelRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *UpdateCertificateLabelRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *GetCertificateRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *GetCertificateRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *ListCertificatesRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *ListCertificatesRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *ListRevokedCertificatesRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *ListRevokedCertificatesRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *RevokeCertificateRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *RevokeCertificateRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *GetCrlRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *GetCrlRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *PublishCrlsRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *PublishCrlsRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *GetSummaryRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *GetSummaryRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|