Documentation ¶
Index ¶
- type ECDHCurve25519
- func (x *ECDHCurve25519) GetKeyOnHexString() (privK, pubK string)
- func (x *ECDHCurve25519) GetPEMKey() (privK, pubK string, err error)
- func (x *ECDHCurve25519) GetRawKey() (privK, pubK []byte)
- func (x *ECDHCurve25519) GetSharedKeyOfSomeOneElseFromPubKeyHexStr(pubKHexStr string) (shareKHexStr string, err error)
- func (x *ECDHCurve25519) GetSharedKeyOfSomeOneElseFromPubKeyPEM(pubKPEMStr string, buffPool *bytesbuff.EasyBytes) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECDHCurve25519 ¶
type ECDHCurve25519 struct {
// contains filtered or unexported fields
}
ECDHCurve25519 for
func ConvertPEMKeyToRawKey ¶
func ConvertPEMKeyToRawKey(privKPEMStr, pubKPEMStr string, bytesPool *bytesbuff.EasyBytes) (*ECDHCurve25519, error)
ConvertPEMKeyToRawKey for
func (*ECDHCurve25519) GetKeyOnHexString ¶
func (x *ECDHCurve25519) GetKeyOnHexString() (privK, pubK string)
GetKeyOnHexString for
func (*ECDHCurve25519) GetPEMKey ¶
func (x *ECDHCurve25519) GetPEMKey() (privK, pubK string, err error)
GetPEMKey for
func (*ECDHCurve25519) GetRawKey ¶
func (x *ECDHCurve25519) GetRawKey() (privK, pubK []byte)
GetRawKey for
func (*ECDHCurve25519) GetSharedKeyOfSomeOneElseFromPubKeyHexStr ¶
func (x *ECDHCurve25519) GetSharedKeyOfSomeOneElseFromPubKeyHexStr(pubKHexStr string) (shareKHexStr string, err error)
GetSharedKeyOfSomeOneElseFromPubKeyHexStr for
func (*ECDHCurve25519) GetSharedKeyOfSomeOneElseFromPubKeyPEM ¶
func (x *ECDHCurve25519) GetSharedKeyOfSomeOneElseFromPubKeyPEM(pubKPEMStr string, buffPool *bytesbuff.EasyBytes) (string, error)
GetSharedKeyOfSomeOneElseFromPubKeyPEM for
Click to show internal directories.
Click to hide internal directories.