public class EDIINTHelper extends Object
| Constructor and Description |
|---|
EDIINTHelper(ICryptoHelper crypto) |
| Modifier and Type | Method and Description |
|---|---|
void |
decrypt(EDIINTMessage msg,
Certificate cert,
Key key) |
void |
encrypt(EDIINTMessage msg,
Certificate cert,
String algorithm) |
ICryptoHelper |
getCryptoHelper() |
boolean |
isEncrypted(EDIINTMessage msg) |
boolean |
isSigned(EDIINTMessage msg) |
void |
setCryptoHelper(ICryptoHelper cryptoHelper) |
void |
sign(EDIINTMessage msg,
Certificate cert,
Key key,
String digest) |
void |
verify(EDIINTMessage msg,
Certificate cert) |
public EDIINTHelper(ICryptoHelper crypto)
public void encrypt(EDIINTMessage msg, Certificate cert, String algorithm) throws CryptoException
CryptoExceptionpublic void decrypt(EDIINTMessage msg, Certificate cert, Key key) throws CryptoException
CryptoExceptionpublic void sign(EDIINTMessage msg, Certificate cert, Key key, String digest) throws CryptoException
CryptoExceptionpublic void verify(EDIINTMessage msg, Certificate cert) throws CryptoException
CryptoExceptionpublic boolean isEncrypted(EDIINTMessage msg) throws CryptoException
CryptoExceptionpublic boolean isSigned(EDIINTMessage msg) throws CryptoException
CryptoExceptionpublic ICryptoHelper getCryptoHelper()
public void setCryptoHelper(ICryptoHelper cryptoHelper)
Copyright © 2017. All rights reserved.