Documentation
¶
Index ¶
- type Configurer
- type Decrypter
- type Identifier
- type IdentifierAndSigner
- type IdentifierSignerAndDecrypter
- type Info
- type Informer
- type InformerAndSigner
- type Node
- func (n *Node) Decrypt(cipher []byte) ([]byte, error)
- func (n *Node) Info() Info
- func (n *Node) SetExtensionID(id common.Hash) error
- func (n *Node) SetOwner(owner common.Address) error
- func (n *Node) Sign(msgHash []byte) ([]byte, error)
- func (n *Node) State() (types.TeeState, error)
- func (n *Node) TeeID() common.Address
- type Signer
- type State
- type ZeroState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurer ¶
type Identifier ¶
type IdentifierAndSigner ¶
type IdentifierAndSigner interface {
Identifier
Signer
}
type IdentifierSignerAndDecrypter ¶
type IdentifierSignerAndDecrypter interface {
Identifier
Signer
Decrypter
}
type InformerAndSigner ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func Initialize ¶
Initialize generates node's private key and sets the teeID.
func (*Node) SetExtensionID ¶
SetExtensionID sets the extension ID of the node. It can only be set once.
Click to show internal directories.
Click to hide internal directories.