GetPublicKeyCertificate
Source:
src/AWS/PaymentCryptography/GetPublicKeyCertificate.ts
Runtime binding for payment-cryptography:GetPublicKeyCertificate —
exports the public-key certificate (and its root certificate chain) of an
asymmetric key pair Key, e.g. to share the public verification key
with a partner. The private key never leaves the service. Provide
GetPublicKeyCertificateHttp on the Function to satisfy this service.
Public Key Certificates
Section titled “Public Key Certificates”// initconst getPublicKeyCertificate = yield* PaymentCryptography.GetPublicKeyCertificate(signKey);
// runtime — both fields are base64-encoded certificatesconst { KeyCertificate, KeyCertificateChain } = yield* getPublicKeyCertificate();