|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectum.di.lmf.security.RSABlindSignature
This class implements four procedures related to the RSA Blind Signature
Constructor Summary | |
RSABlindSignature()
|
Method Summary | |
static byte[] |
blind(byte[] data,
java.math.BigInteger blinding_factor,
java.security.interfaces.RSAPublicKey pubKey)
This method can be used to obtain a blinded hash, to be signed by the public key owner. |
static byte[] |
sign(byte[] blinded_hash,
java.security.interfaces.RSAPrivateKey privKey)
This method allows the private key owner to sign a previously blinded hash. |
static byte[] |
unblind(byte[] blinded_sig,
java.math.BigInteger blinding_factor,
java.security.interfaces.RSAPublicKey pubKey)
This method permits recovering a proper signature, removing the blinding from the result of the sign function. |
static boolean |
verify(byte[] data,
byte[] signature,
java.security.interfaces.RSAPublicKey pubKey)
This method permits verifying an unblinded signature. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RSABlindSignature()
Method Detail |
public static byte[] blind(byte[] data, java.math.BigInteger blinding_factor, java.security.interfaces.RSAPublicKey pubKey) throws RSABlindSignatureException
RSABlindSignatureException
public static byte[] sign(byte[] blinded_hash, java.security.interfaces.RSAPrivateKey privKey) throws RSABlindSignatureException
RSABlindSignatureException
public static byte[] unblind(byte[] blinded_sig, java.math.BigInteger blinding_factor, java.security.interfaces.RSAPublicKey pubKey) throws RSABlindSignatureException
RSABlindSignatureException
public static boolean verify(byte[] data, byte[] signature, java.security.interfaces.RSAPublicKey pubKey) throws RSABlindSignatureException
RSABlindSignatureException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |