Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaSink ¶
type CaSink struct {
// contains filtered or unexported fields
}
CsrSink accepts CA data to write to the configured storage implementation.
type CrlSink ¶
type CrlSink struct {
// contains filtered or unexported fields
}
func CrlSinkFromConfig ¶
type CsrSink ¶
type CsrSink struct {
// contains filtered or unexported fields
}
CsrSink offers an interface to read/write keypair data (certificate and private key) and optional ca data.
func CsrSinkFromConfig ¶
func NewCsrSink ¶
func NewCsrSink(cert, csr, chain pki.StorageImplementation) (*CsrSink, error)
type KeyPairSink ¶
type KeyPairSink struct {
// contains filtered or unexported fields
}
KeyPairSink offers an interface to read/write keypair data (certificate and private key) and optional ca data.
func KeyPairSinkFromConfig ¶
func KeyPairSinkFromConfig(config *conf.Config) ([]*KeyPairSink, error)
func NewKeyPairSink ¶
func NewKeyPairSink(cert, privateKey, chain pki.StorageImplementation) (*KeyPairSink, error)
func (*KeyPairSink) ReadCert ¶
func (f *KeyPairSink) ReadCert() (*x509.Certificate, error)
type MultiKeyPairSink ¶
type MultiKeyPairSink struct {
// contains filtered or unexported fields
}
func MultiKeyPairSinkFromConfig ¶
func MultiKeyPairSinkFromConfig(config *conf.Config) (*MultiKeyPairSink, error)
func NewMultiKeyPairSink ¶
func NewMultiKeyPairSink(sinks ...*KeyPairSink) (*MultiKeyPairSink, error)
func (*MultiKeyPairSink) ReadCert ¶
func (f *MultiKeyPairSink) ReadCert() (*x509.Certificate, error)
type YubikeyBackend ¶
type YubikeyBackend struct {
// contains filtered or unexported fields
}
func NewYubikeySink ¶
func NewYubikeySink(pod *storage.YubikeyPod) (*YubikeyBackend, error)
func (*YubikeyBackend) ReadCert ¶
func (f *YubikeyBackend) ReadCert() (*x509.Certificate, error)
Click to show internal directories.
Click to hide internal directories.