keys

package module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportKeysString

func ExportKeysString(password, path string) (publicKey, privateKey string, err error)

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.

Directories

Path Synopsis
mem

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL