|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAsymmetricCipher
This interface offers facilities to sign and check the signature of files using asymmetric cryptography.
Method Summary | |
---|---|
boolean |
checkSignature(java.io.File signedFile,
java.io.File dataFile,
PublicKey publicKey)
This method offers a facility to check the signature of a file with asymmetric cryptography. |
void |
sign(java.io.File input,
java.io.File output,
PrivateKey privateKey)
This method offers a facility to sign files with asymmetric cryptography. |
Method Detail |
---|
void sign(java.io.File input, java.io.File output, PrivateKey privateKey)
input
- The input file to be signed against an asymmetric private key.output
- The output file signed against the asymmetric private key.privateKey
- The private asymmetric key to use in the signing process.boolean checkSignature(java.io.File signedFile, java.io.File dataFile, PublicKey publicKey)
signedFile
- The input file whose signature must be checked against an asymmetric public key.dataFile
- The input data file whose signature must be checked against an asymmetric public key.publicKey
- The public key to use in the check signature process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |