public class Keys extends Object
| Constructor and Description |
|---|
Keys() |
| Modifier and Type | Method and Description |
|---|---|
protected static RSAPrivateCrtKeySpec |
getRSAPrivateKeySpec(byte[] keyBytes) |
static PrivateKey |
readPrivateKey(String key) |
static PublicKey |
readPublicKey(String key) |
public static PublicKey readPublicKey(String key) throws JuspayCryptoException
JuspayCryptoExceptionpublic static PrivateKey readPrivateKey(String key) throws JuspayCryptoException
JuspayCryptoExceptionprotected static RSAPrivateCrtKeySpec getRSAPrivateKeySpec(byte[] keyBytes) throws JuspayCryptoException
JuspayCryptoExceptionCopyright © 2024 Juspay. All rights reserved.