Versions in this module Expand all Collapse all v0 v0.1.0 Jul 23, 2020 Changes in this version + func AESCBCPKCS7Decrypt(key, src []byte) ([]byte, error) + func AESCBCPKCS7Encrypt(key, src []byte) ([]byte, error) + func AESCBCPKCS7EncryptWithIV(IV []byte, key, src []byte) ([]byte, error) + func AESCBCPKCS7EncryptWithRand(prng io.Reader, key, src []byte) ([]byte, error) + func BCCSPKeyRequestGenerate(ks bccsp.KeyStore) (bccsp.Key, crypto.Signer, error) + func DERToPublicKey(raw []byte) (pub interface{}, err error) + func GetECDSAPrivateKey(key bccsp.Key) *ecdsa.PrivateKey + func GetRandomBytes(len int) ([]byte, error) + func ImportCert(cert []byte) (bccsp.Key, error) + func KeyImport(raw interface{}) (bccsp.Key, error) + func LoadKey(user *msp.UserData, ks bccsp.KeyStore) error + func New(key bccsp.Key) (crypto.Signer, error) + func NewFileBasedKeyStore(pwd []byte, path string, readOnly bool) (bccsp.KeyStore, error) + func Pkcs7PaddingKey(src []byte) []byte + type ECDSAP256KeyGenOpts struct + Temporary bool + func (opts *ECDSAP256KeyGenOpts) Algorithm() string + func (opts *ECDSAP256KeyGenOpts) Ephemeral() bool