latestOpenAPI 3.0.12026-08-104068226.2 KB

a772504dcc9e

Encrypted PIN Change

Retrieve latest public key

Returns the latest Solaris public RSA key in JWK format. Call this method every time before you call the POST Change card PIN method to ensure you have the latest key. See RFC7517 for more information on JWKs.

get/v1/cards/pin_keys/latest

Response

The public key was fetched successfully.

kidstring required

ID of the returned public key. Use this value for the kid attribute when encrypting the PIN in JWE format.

kty'RSA' required

The key type parameter identifies the cryptographic algorithm family used with the key. Only RSA is supported.

use'enc' required

Specifies the intended use of the key. Values defined by this specification are sig (signature) and enc (encryption). This property is case-sensitive.

alg'RS256' required

Specifies the algorithm intended for use with the key. For this property, you should either use an algorithm registered in the IANA JSON Web Signature and Encryption Algorithms registry or a value that contains a collision-resistant name. This value is a case-sensitive ASCII string.

nstring required

Contains the modulus value for the RSA public key, represented as the Base64URL encoding of the value's big-endian representation.

estring required

Contains the exponent value for the RSA public key, represented as the Base64URL encoding of the value's big-endian representation.