Documentation ¶
Overview ¶
Package client - Symbios user-side client Author: Dario Nascimento
Index ¶
- func GetCACertHash(endpoint *string) (*[]byte, error)
- func GetCACertHashEncoded(endpoint *string) (*string, error)
- func NewToken(privateKey []byte, hostname string, expires time.Duration) (*string, error)
- func NewTokenUsingPrivateKeyFile(privateKeyPath string, hostname string, expires time.Duration) (*string, error)
- func NewUserKey(username *string, keyLength int, expires *time.Time, out *string) (*string, *pkix.Certificate, *pkix.Key, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCACertHash ¶
GetCACertHash fetches the certificate authority
func GetCACertHashEncoded ¶
GetCACertHashEncoded fetches the root-certificate fingerprint (SHA256) from CA
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.