models

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CertificateRequestPublicKeyAlgorithmEcdsa captures enum value "ecdsa"
	CertificateRequestPublicKeyAlgorithmEcdsa string = "ecdsa"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateRequest

type CertificateRequest struct {

	// public key
	// Required: true
	PublicKey *CertificateRequestPublicKey `json:"publicKey"`

	// signed email address
	// Required: true
	// Format: byte
	SignedEmailAddress *strfmt.Base64 `json:"signedEmailAddress"`
}

CertificateRequest certificate request

swagger:model CertificateRequest

func (*CertificateRequest) ContextValidate

func (m *CertificateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this certificate request based on the context it is used

func (*CertificateRequest) MarshalBinary

func (m *CertificateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertificateRequest) UnmarshalBinary

func (m *CertificateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertificateRequest) Validate

func (m *CertificateRequest) Validate(formats strfmt.Registry) error

Validate validates this certificate request

type CertificateRequestPublicKey

type CertificateRequestPublicKey struct {

	// algorithm
	// Enum: [ecdsa]
	Algorithm string `json:"algorithm,omitempty"`

	// content
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`
}

CertificateRequestPublicKey certificate request public key

swagger:model CertificateRequestPublicKey

func (*CertificateRequestPublicKey) ContextValidate

func (m *CertificateRequestPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this certificate request public key based on context it is used

func (*CertificateRequestPublicKey) MarshalBinary

func (m *CertificateRequestPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertificateRequestPublicKey) UnmarshalBinary

func (m *CertificateRequestPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertificateRequestPublicKey) Validate

func (m *CertificateRequestPublicKey) Validate(formats strfmt.Registry) error

Validate validates this certificate request public key

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

Error error

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL