Class Keys
java.lang.Object
in.juspay.security.Keys
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static RSAPrivateCrtKeySpecgetRSAPrivateKeySpec(byte[] keyBytes) static PrivateKeyreadPrivateKey(String key) static PublicKeyreadPublicKey(String key)
-
Constructor Details
-
Keys
public Keys()
-
-
Method Details
-
readPublicKey
- Throws:
JuspayCryptoException
-
readPrivateKey
- Throws:
JuspayCryptoException
-
getRSAPrivateKeySpec
protected static RSAPrivateCrtKeySpec getRSAPrivateKeySpec(byte[] keyBytes) throws JuspayCryptoException - Throws:
JuspayCryptoException
-