Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidBlock = errors.New("invalid block")
Functions ¶
Types ¶
type Confidential ¶
type Confidential struct { Key *rsa.PrivateKey Cert *x509.Certificate }
func KeyCert ¶
func KeyCert(privateKey, publicCrt []byte) (confidential Confidential, err error)
Click to show internal directories.
Click to hide internal directories.