Package org.apache.solr.util
Class CryptoKeys.RSAKeyPair
- java.lang.Object
-
- org.apache.solr.util.CryptoKeys.RSAKeyPair
-
- Enclosing class:
- CryptoKeys
public static class CryptoKeys.RSAKeyPair extends Object
-
-
Constructor Summary
Constructors Constructor Description RSAKeyPair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
encrypt(ByteBuffer buffer)
PublicKey
getPublicKey()
String
getPublicKeyStr()
byte[]
signSha256(byte[] bytes)
-
-
-
Method Detail
-
getPublicKeyStr
public String getPublicKeyStr()
-
getPublicKey
public PublicKey getPublicKey()
-
encrypt
public byte[] encrypt(ByteBuffer buffer)
-
signSha256
public byte[] signSha256(byte[] bytes) throws InvalidKeyException, SignatureException
-
-