SignatureVerificationPort

Port interface for cryptographic signature verification.

Abstracts the signature verification infrastructure from the credential domain. Implementations handle the cryptographic details of verifying digital signatures over canonicalized documents using keys from DID verification methods.

Functions

Link copied to clipboard
abstract fun verify(documentBytes: ByteArray, signatureBytes: ByteArray, verificationMethod: VerificationMethod, proofType: String): Boolean

Verify a digital signature over raw document bytes.