Verify the declared digital signature against the package contents.
Returns false on mismatch (a mismatch is data, not an exception — callers
that reject use assertPackageSignature). Without an explicit
publicKeyPem the embedded key declared in security.json is used.
Throws UnsignedPackageError when unsigned and SignatureError on
structural problems.
Verify the declared digital signature against the package contents. Returns false on mismatch (a mismatch is data, not an exception — callers that reject use
assertPackageSignature). Without an explicitpublicKeyPemthe embedded key declared in security.json is used. Throws UnsignedPackageError when unsigned and SignatureError on structural problems.