Documentation
¶
Index ¶
- type Key
- func (k Key) ECDH(publicKey dkgocrtypes.P256ParticipantPublicKey) (dkgocrtypes.P256ECDHSharedSecret, error)
- func (k Key) ID() string
- func (k Key) PublicKey() dkgocrtypes.P256ParticipantPublicKey
- func (k Key) PublicKeyString() string
- func (k Key) Raw() internal.Raw
- func (k Key) ToEncryptedJSON(password string, scryptParams commonkeystore.ScryptParams) (export []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
func (Key) ECDH ¶
func (k Key) ECDH(publicKey dkgocrtypes.P256ParticipantPublicKey) (dkgocrtypes.P256ECDHSharedSecret, error)
func (Key) PublicKey ¶
func (k Key) PublicKey() dkgocrtypes.P256ParticipantPublicKey
func (Key) PublicKeyString ¶
func (Key) ToEncryptedJSON ¶
func (k Key) ToEncryptedJSON(password string, scryptParams commonkeystore.ScryptParams) (export []byte, err error)
Click to show internal directories.
Click to hide internal directories.