|
||||||||||
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)
Signs it using the encryption algorithm in combination with the digest algorithm. |
Method Detail |
---|
String getHashAlgorithm()
String getEncryptionAlgorithm()
byte[] sign(byte[] message) throws GeneralSecurityException
message
- the message you want to be hashed and signed
GeneralSecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |