Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadPrivateKey ¶
func ReadPrivateKey(privateKeyPath string) (*rsa.PrivateKey, error)
Types ¶
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
func NewProfile ¶
func NewProfile(privateKey *rsa.PrivateKey) (Profile, error)
func ReadProfile ¶
func (Profile) GetAddress ¶
func (Profile) GetPrivateKey ¶
func (s Profile) GetPrivateKey() *rsa.PrivateKey
func (Profile) GetPublicKey ¶
Click to show internal directories.
Click to hide internal directories.