|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExternalSignature
Interface that needs to be implemented to do the actual signing. For instance: you'll have to implement this interface if you want to sign a PDF using a smart card.
Method Summary | |
---|---|
String |
getEncryptionAlgorithm()
Returns the encryption algorithm used for signing. |
String |
getHashAlgorithm()
Returns the hash algorithm. |
byte[] |
sign(byte[] message)
Creates a message digest using the hash algorithm and signs it using the encryption algorithm. |
Method Detail |
---|
byte[] sign(byte[] message) throws GeneralSecurityException
message
- the message you want to be hashed and signed
GeneralSecurityException
String getHashAlgorithm()
String getEncryptionAlgorithm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |