Class EcKeyLoader
java.lang.Object
software.amazon.awssdk.services.signin.internal.EcKeyLoader
-
Method Summary
Modifier and TypeMethodDescriptionstatic Pair<ECPrivateKey, ECPublicKey> loadSec1Pem(String pem) Load ECPrivateKey and ECPublicKey from a SEC1 / RFC 5915 ASN.1 formated PEM.static byte[]
-
Method Details
-
loadSec1Pem
Load ECPrivateKey and ECPublicKey from a SEC1 / RFC 5915 ASN.1 formated PEM.The only supported curve is: secp256r1.
- Parameters:
pem- EC1 / RFC 5915 ASN.1 formated PEM contents- Returns:
- The ECPrivateKey and ECPublicKey
-
pemToDer
-