Documentation ¶
Overview ¶
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Index ¶
- func GeneratePrivateKey(keystorePath string) (bccsp.Key, crypto.Signer, error)
- func GenerateSM2PrivateKey(keystorePath string) (bccsp.Key, crypto.Signer, error)
- func GetECPublicKey(priv bccsp.Key) (*ecdsa.PublicKey, error)
- func GetSM2PublicKey(priv bccsp.Key) (*sm2.PublicKey, error)
- func LoadPrivateKey(keystorePath string) (bccsp.Key, crypto.Signer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePrivateKey ¶
GeneratePrivateKey creates a private key and stores it in keystorePath
func GenerateSM2PrivateKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.