cert

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSR

func CSR(opts ...CertOption) func(msg proto.Message) error

func CSRParams

func CSRParams(opts ...CertOption) func(msg proto.Message) error

func CaCertificate

func CaCertificate(opts ...CertOption) func(msg proto.Message) error

func Certificate

func Certificate(opts ...CertOption) func(msg proto.Message) error

func CertificateBytes added in v0.0.10

func CertificateBytes(b []byte) func(msg proto.Message) error

func CertificateID

func CertificateID(id string) func(msg proto.Message) error

func CertificateInfo

func CertificateInfo(opts ...CertOption) func(msg proto.Message) error

func CertificateType

func CertificateType(ct string) func(msg proto.Message) error

func CertificateTypeX509 added in v0.0.11

func CertificateTypeX509() func(msg proto.Message) error

func City

func City(s string) func(msg proto.Message) error

func CommonName

func CommonName(cn string) func(msg proto.Message) error

func Country

func Country(c string) func(msg proto.Message) error

func EmailID

func EmailID(s string) func(msg proto.Message) error

func Endpoint

func Endpoint(typ cert.Endpoint_Type, endp string) func(msg proto.Message) error

func ErrorMsg

func ErrorMsg(s string) func(msg proto.Message) error

func IPAddress

func IPAddress(ipAddr string) func(msg proto.Message) error

func KeyPair added in v0.0.10

func KeyPair(opts ...CertOption) func(msg proto.Message) error

func KeySize

func KeySize(ks uint32) func(msg proto.Message) error

func KeyType

func KeyType(kt string) func(msg proto.Message) error

func MinKeySize

func MinKeySize(ks uint32) func(msg proto.Message) error

func ModificationTime

func ModificationTime(mt int64) func(msg proto.Message) error

func NewCertCanGenerateCSRRequest

func NewCertCanGenerateCSRRequest(opts ...CertOption) (*cert.CanGenerateCSRRequest, error)

func NewCertCanGenerateCSRResponse

func NewCertCanGenerateCSRResponse(opts ...CertOption) (*cert.CanGenerateCSRResponse, error)

func NewCertGenerateCSRRequest

func NewCertGenerateCSRRequest(opts ...CertOption) (*cert.GenerateCSRRequest, error)

func NewCertGenerateCSRResponse

func NewCertGenerateCSRResponse(opts ...CertOption) (*cert.GenerateCSRResponse, error)

func NewCertGetCertificatesRequest

func NewCertGetCertificatesRequest(opts ...CertOption) *cert.GetCertificatesRequest

func NewCertGetCertificatesResponse

func NewCertGetCertificatesResponse(opts ...CertOption) (*cert.GetCertificatesResponse, error)

func NewCertInstallGenerateCSRRequest

func NewCertInstallGenerateCSRRequest(opts ...CertOption) (*cert.InstallCertificateRequest, error)

func NewCertInstallGenerateCSRResponse

func NewCertInstallGenerateCSRResponse(opts ...CertOption) (*cert.InstallCertificateResponse, error)

func NewCertInstallLoadCertificateRequest

func NewCertInstallLoadCertificateRequest(opts ...CertOption) (*cert.InstallCertificateRequest, error)

func NewCertInstallLoadCertificateResponse

func NewCertInstallLoadCertificateResponse(opts ...CertOption) (*cert.InstallCertificateResponse, error)

func NewCertLoadCertificateAuthorityBundleRequest

func NewCertLoadCertificateAuthorityBundleRequest(opts ...CertOption) (*cert.LoadCertificateAuthorityBundleRequest, error)

func NewCertLoadCertificateAuthorityBundleResponse

func NewCertLoadCertificateAuthorityBundleResponse(opts ...CertOption) (*cert.LoadCertificateAuthorityBundleResponse, error)

func NewCertLoadCertificateRequest

func NewCertLoadCertificateRequest(opts ...CertOption) (*cert.LoadCertificateRequest, error)

func NewCertLoadCertificateResponse

func NewCertLoadCertificateResponse(opts ...CertOption) (*cert.LoadCertificateResponse, error)

func NewCertRevokeCertificatesRequest

func NewCertRevokeCertificatesRequest(opts ...CertOption) (*cert.RevokeCertificatesRequest, error)

func NewCertRevokeCertificatesResponse

func NewCertRevokeCertificatesResponse(opts ...CertOption) (*cert.RevokeCertificatesResponse, error)

func NewCertRotateFinalizeRequest

func NewCertRotateFinalizeRequest(opts ...CertOption) *cert.RotateCertificateRequest

func NewCertRotateGenerateCSRRequest

func NewCertRotateGenerateCSRRequest(opts ...CertOption) (*cert.RotateCertificateRequest, error)

func NewCertRotateGenerateCSRResponse

func NewCertRotateGenerateCSRResponse(opts ...CertOption) (*cert.RotateCertificateResponse, error)

func NewCertRotateLoadCertificateRequest

func NewCertRotateLoadCertificateRequest(opts ...CertOption) (*cert.RotateCertificateRequest, error)

func NewCertRotateLoadCertificateResponse

func NewCertRotateLoadCertificateResponse(opts ...CertOption) (*cert.RotateCertificateResponse, error)

func Org

func Org(s string) func(msg proto.Message) error

func OrgUnit

func OrgUnit(s string) func(msg proto.Message) error

func PrivateKey added in v0.0.10

func PrivateKey(privKey []byte) func(msg proto.Message) error

func PublicKey added in v0.0.10

func PublicKey(pubKey []byte) func(msg proto.Message) error

func State

func State(s string) func(msg proto.Message) error

Types

type CertOption

type CertOption func(proto.Message) error

Jump to

Keyboard shortcuts

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