mirror of
https://github.com/hanzoai/ca.git
synced 2026-11-03 18:08:27 +00:00
55 lines
1.6 KiB
Go
55 lines
1.6 KiB
Go
// Code generated by protoc-gen-go-json. DO NOT EDIT.
|
|
// source: cis.proto
|
|
|
|
package pb
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *GetRootsRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *GetRootsRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *GetIssuerInfoRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *GetIssuerInfoRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *IssuerInfo) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *IssuerInfo) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *GetCertificateInfoRequest) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *GetCertificateInfoRequest) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalJSON implements json.Marshaler
|
|
func (msg *CertificateStatusResponse) MarshalJSON() ([]byte, error) {
|
|
return JsonMarshalOptions.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalJSON implements json.Unmarshaler
|
|
func (msg *CertificateStatusResponse) UnmarshalJSON(b []byte) error {
|
|
return JsonUnmarshalOptions.Unmarshal(b, msg)
|
|
}
|