public static class CryptoKeys.RSAKeyPair extends Object
| Constructor and Description | 
|---|
| RSAKeyPair() | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | encrypt(ByteBuffer buffer) | 
| PublicKey | getPublicKey() | 
| String | getPublicKeyStr() | 
| byte[] | signSha256(byte[] bytes) | 
public String getPublicKeyStr()
public PublicKey getPublicKey()
public byte[] encrypt(ByteBuffer buffer)
public byte[] signSha256(byte[] bytes)
                  throws InvalidKeyException,
                         SignatureException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.