Documentation ¶
Overview ¶
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Index ¶
- func GeneratePrivateKey(keystorePath string, keyOpts bccsp.KeyGenOpts) (bccsp.Key, crypto.Signer, error)
- func GetECPublicKey(priv bccsp.Key) (*ecdsa.PublicKey, error)
- func GetQSPublicKey(priv bccsp.Key) (*oqs.PublicKey, error)
- func LoadPrivateKey(keystorePath string) (bccsp.Key, crypto.Signer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePrivateKey ¶
func GeneratePrivateKey(keystorePath string, keyOpts bccsp.KeyGenOpts) (bccsp.Key, crypto.Signer, error)
GeneratePrivateKey creates a private key and stores it in keystorePath
func GetQSPublicKey ¶
TODO(amelia): It's a bit sad that this (and above) function are required. Feels like we're all doing something wrong.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.