package
2.0.0-alpha+incompatible
Repository: https://github.com/hyperledger-labs/fabric-block-archiving.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewAES256EncrypterECDSASignerEntity returns an encrypter entity that is capable of performing AES 256 bit encryption using PKCS#7 padding and signing using ECDSA.
NewAES256EncrypterEntity returns an encrypter entity that is capable of performing AES 256 bit encryption using PKCS#7 padding.
NewECDSASignerEntity returns a signer entity that is capable of signing using ECDSA.
NewECDSAVerifierEntity returns a verifier entity that is capable of verifying using ECDSA.
NewEncrypterEntity returns an EncrypterEntity that is capable of performing encryption using i) the supplied BCCSP instance; ii) the supplied encryption key and iii) the supplied encryption and decryption options.
NewEncrypterSignerEntity returns an EncrypterSignerEntity (which is also an EncrypterEntity) that is capable of performing encryption AND of generating signatures using i) the supplied BCCSP instance; ii) the supplied encryption and signing keys and iii) the supplied encryption, decryption, signing and hashing options.
NewSignerEntity returns a SignerEntity.

# Structs

BCCSPEncrypterEntity is an implementation of the EncrypterEntity interface.
BCCSPEncrypterSignerEntity is an implementation of the EncrypterSignerEntity interface.
BCCSPEntity is an implementation of the Entity interface holding a BCCSP instance.
BCCSPSignerEntity is an implementation of the SignerEntity interface.
SignedMessage is a simple struct that contains space for a payload and a signature over it, and convenience functions to sign, verify, marshal and unmarshal.

# Interfaces

Encrypter is an interface that provides basic encrypt/decrypt capabilities.
Encrypter entity is an entity which is capable of performing encryption.
EncrypterSignerEntity is an entity which is capable of performing encryption and of generating signatures.
Entity is the basic interface for all crypto entities that are used by the library to obtain cc-level encryption.
Signer is an interface that provides basic sign/verify capabilities.
SignerEntity is an entity which is capable of signing.