Documentation
¶
Index ¶
- type BCCSP
- func (m *BCCSP) Decrypt(k bccsp.Key, ciphertext []byte, opts bccsp.DecrypterOpts) (plaintext []byte, err error)
- func (m *BCCSP) Encrypt(k bccsp.Key, plaintext []byte, opts bccsp.EncrypterOpts) (ciphertext []byte, err error)
- func (m *BCCSP) GetHash(opts bccsp.HashOpts) (h hash.Hash, err error)
- func (m *BCCSP) GetKey(ski []byte) (bccsp.Key, error)
- func (m *BCCSP) Hash(msg []byte, opts bccsp.HashOpts) (hash []byte, err error)
- func (m *BCCSP) KeyDeriv(k bccsp.Key, opts bccsp.KeyDerivOpts) (dk bccsp.Key, err error)
- func (m *BCCSP) KeyGen(opts bccsp.KeyGenOpts) (k bccsp.Key, err error)
- func (m *BCCSP) KeyImport(raw interface{}, opts bccsp.KeyImportOpts) (k bccsp.Key, err error)
- func (m *BCCSP) Sign(k bccsp.Key, digest []byte, opts bccsp.SignerOpts) ([]byte, error)
- func (m *BCCSP) Verify(k bccsp.Key, signature, digest []byte, opts bccsp.SignerOpts) (valid bool, err error)
- type Key
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BCCSP ¶
Click to show internal directories.
Click to hide internal directories.