Documentation
¶
Overview ¶
Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSHA256Hash ¶
func ConcatenateHashes ¶
Concatenate two hashes and calculate hash of result QLDB style
Types ¶
type Signer ¶
Signer is cryptographic primitive used only to sign messages. Each entity usually access single Signer
func NewSigner ¶
func NewSigner(opt *SignerOptions) (Signer, error)
type SignerOptions ¶
SignerOptions - crypto data location
type Verifier ¶
type Verifier struct {
Certificate *x509.Certificate
}
Verifier is cryptographic primitive used only to validate message signature, each node usually access multiple Verifiers.
func NewVerifier ¶
NewVerifier creates Verifier from shared root certificates pool and raw verifying entity certificate.