Documentation ¶
Index ¶
- type Authority
- type SSHAuthority
- type TLSAuthority
- func (t *TLSAuthority) Equal(authority *TLSAuthority) bool
- func (t *TLSAuthority) GetPrivateKey() []byte
- func (t *TLSAuthority) GetPublicKey() []byte
- func (t *TLSAuthority) HasAttempt(request *http.Request) bool
- func (t *TLSAuthority) Sign(request string, ishost bool, lifespan time.Duration, commonname string, ...) (string, error)
- func (t *TLSAuthority) ToCertPool() *x509.CertPool
- func (t *TLSAuthority) ToHTTPSCert() tls.Certificate
- func (t *TLSAuthority) Verify(request *http.Request) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSHAuthority ¶
type SSHAuthority struct {
// contains filtered or unexported fields
}
func (*SSHAuthority) GetPublicKey ¶
func (d *SSHAuthority) GetPublicKey() []byte
type TLSAuthority ¶
type TLSAuthority struct {
// contains filtered or unexported fields
}
func (*TLSAuthority) Equal ¶
func (t *TLSAuthority) Equal(authority *TLSAuthority) bool
func (*TLSAuthority) GetPrivateKey ¶
func (t *TLSAuthority) GetPrivateKey() []byte
func (*TLSAuthority) GetPublicKey ¶
func (t *TLSAuthority) GetPublicKey() []byte
func (*TLSAuthority) HasAttempt ¶
func (t *TLSAuthority) HasAttempt(request *http.Request) bool
func (*TLSAuthority) ToCertPool ¶
func (t *TLSAuthority) ToCertPool() *x509.CertPool
func (*TLSAuthority) ToHTTPSCert ¶
func (t *TLSAuthority) ToHTTPSCert() tls.Certificate
Click to show internal directories.
Click to hide internal directories.