Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
**********************************************************
- tls.Dial Wrapper -> attestedtls.Dial
- Additionally requests and then verifies the obtained Attestation Report
- before returning the established connection.
func GetCert ¶
func GetCert() (tls.Certificate, error)
Types ¶
type Listener ¶
Struct to implement Listener interface * holds net.Listener and adds additional functionality to its functions
func (Listener) Accept ¶
Implementation of Accept() in net.Listener iface * Additionally creates AR with obtained nonce and returns it
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
********************************************************** * PrivateKey Wrapper Implementing crypto.Signer interface * Contacts cmcd for signing operations
func (PrivateKey) Public ¶
func (priv PrivateKey) Public() crypto.PublicKey
func (PrivateKey) Sign ¶
func (priv PrivateKey) Sign(random io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error)
Implementation of Sign() in crypto.Signer iface * Contacts cmcd for sign operation
Click to show internal directories.
Click to hide internal directories.