# Functions
NewNormalizer initializes normalizer struct arguments:
options *model.SignatureSuiteOptions nullable
returns
normalizer *normalizer The normalizer instance.
NewSignatureProofSuite2020 initializes and returns SignatureProofSuite.
NewSignatureSuite2020 initializes and returns SignatureSuite
publicKey []byte privateKey []byte nullable options *model.SignatureSuiteOptions nullable.
# Structs
A KeyEncoder struct encapsulates operations with bls public key Supported curve is BLS12_381.
SignatureProofSuite2020 is initialized with:
publicKey []byte
Default document loader will has following contexts pre-loaded: - https://www.w3.org/2018/credentials/v1 - https://w3id.org/security/bbs/v1 - https://w3id.org/citizenship/v1 - https://w3id.org/vc-revocation-list-2020/v1
If context is not found, document loader will try to download it from the internet.
SignatureSuite2020 is initialized with:
publicKey []byte privateKey []byte nullable, required when issuance is needed options *model.SignatureSuiteOptions nullable, permits to add/overwrite default document loader and pre-defined contexts
Default document loader will has following contexts pre-loaded: - https://www.w3.org/2018/credentials/v1 - https://w3id.org/security/bbs/v1 - https://w3id.org/citizenship/v1 - https://w3id.org/vc-revocation-list-2020/v1
If context is not found, document loader will try to download it from the internet.