Documentation ¶
Overview ¶
Package x509 provides X509 certificate methods.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertKey ¶
type CertKey struct {
// contains filtered or unexported fields
}
CertKey represents a X509 certificate and key.
func NewCertKey ¶
NewCertKey returns a new certificate and key instance.
func (*CertKey) CertBlocks ¶
CertBlocks returns the PEM blocks of the certificate.
func (*CertKey) Equal ¶
Equal returns true if the certificate and key equals the instance data, false otherwise.
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
ValidationError is returned in case of X09 certificate validation errors.
func (ValidationError) Error ¶
func (e ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.