|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.SIRAPRISE.util.UserPrivateKeyProvider
public class UserPrivateKeyProvider
Constructor Summary | |
---|---|
UserPrivateKeyProvider(java.lang.String user)
|
Method Summary | |
---|---|
byte[] |
sign(java.security.Signature signature,
byte[] signMessage)
Computes the signature for the given byte string and the given Signature. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserPrivateKeyProvider(java.lang.String user) throws NotFoundException
user
-
NotFoundException
Method Detail |
---|
public byte[] sign(java.security.Signature signature, byte[] signMessage) throws java.security.InvalidKeyException, java.security.SignatureException, NotFoundException
Signer
sign
in interface Signer
signature
- The Signature object to be used for computing the signature.signMessage
- The message to be signed.
java.security.InvalidKeyException
- If the private key found for signing with this Signature, turns out to be invalid
java.security.SignatureException
- If any problem occurred during computation of the signature
NotFoundException
- If no private key could be found for signing with this Signature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |