|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object base.jdbs.cryptography.asymmetric.RSAAsymmetricCipher
public class RSAAsymmetricCipher
Constructor Summary | |
---|---|
RSAAsymmetricCipher()
|
Method Summary | |
---|---|
boolean |
checkSignature(java.io.File signedInputFile,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSAAsymmetricCipher()
Method Detail |
---|
public void sign(java.io.File input, java.io.File output, PrivateKey privateKey)
IAsymmetricCipher
sign
in interface IAsymmetricCipher
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.public boolean checkSignature(java.io.File signedInputFile, java.io.File dataFile, PublicKey publicKey)
IAsymmetricCipher
checkSignature
in interface IAsymmetricCipher
signedInputFile
- 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 |