Documentation ¶
Overview ¶
Copyright 2022 The Sinso Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
- func ExportKeysString(password, path string) (publicKey, privateKey string, err error)
- func ExportPrivateKey(password, path string) (pk *ecdsa.PrivateKey, err error)
- func GeneratePrivateKey(password, path string) (k *ecdsa.PrivateKey, created bool, err error)
- func ImportPrivateKey(password, path, privatekey string) (k *ecdsa.PrivateKey, created bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportKeysString ¶
func ExportPrivateKey ¶
func ExportPrivateKey(password, path string) (pk *ecdsa.PrivateKey, err error)
func GeneratePrivateKey ¶
func GeneratePrivateKey(password, path string) (k *ecdsa.PrivateKey, created bool, err error)
func ImportPrivateKey ¶
func ImportPrivateKey(password, path, privatekey string) (k *ecdsa.PrivateKey, created bool, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.