public class AsymmetricCrypto extends java.lang.Object implements SecurityInc
ARITHMETIC_DES, ARITHMETIC_DSA, ARITHMETIC_RSA, CRYPTO_FORM, KEY_SIZE, SIGNATURE_FORM| Constructor and Description |
|---|
AsymmetricCrypto() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] encryptData) |
byte[] |
encrypt(byte[] data) |
byte[] |
signature(byte[] data) |
boolean |
verify(byte[] buffer,
byte[] signData) |
public AsymmetricCrypto()
throws CryptoException
CryptoExceptionpublic byte[] encrypt(byte[] data)
throws CryptoException
encrypt in interface SecurityIncCryptoExceptionpublic byte[] decrypt(byte[] encryptData)
throws CryptoException
decrypt in interface SecurityIncCryptoExceptionpublic byte[] signature(byte[] data)
throws CryptoException
signature in interface SecurityIncCryptoExceptionpublic boolean verify(byte[] buffer,
byte[] signData)
throws CryptoException
verify in interface SecurityIncCryptoException