faydaTestPublicKeyPem top-level constant

String const faydaTestPublicKeyPem

PEM public key that verifies payloads from buildTestPayload.

final result = decodePayload(buildTestPayload()) as FaydaSuccess;
verifySignature(result, publicKeyPem: faydaTestPublicKeyPem).verified; // true
verifySignature(result).verified; // false: not signed by NIDP

The matching private key ships with this package, so anyone can sign with it. Never accept it outside tests.

Implementation

const faydaTestPublicKeyPem = testPublicKeyPem;