The serialised signature bundle
Verify the signature against the specified plaintext
The plaintext to verify (can be undefined if the plaintext is encapsulated in the signature)
The OID of the service for which the signature should be valid
The date or period for which the signature should be valid (defaults to now)
Optional
trustAnchors: readonly TrustAnchor[]The DNSSEC trust anchors to use for verification
The verification result containing the plaintext and member information
Static
deserialiseDeserialise a binary representation into a SignatureBundle instance
The serialised signature bundle
A new SignatureBundle instance
Static
signCreate a signature for the specified plaintext
The data to sign
The OID of the service for which the signature is created
The member id bundle or organisation signer to use for signing
The private key corresponding to the signer certificate
The date when the signature expires
Additional options for signature creation
The date when the signature becomes valid (defaults to now)
Whether to include the plaintext in the signature (defaults to false)
A new SignatureBundle instance
Serialise this signature bundle to its binary representation