public class SignatureRSA extends java.lang.Object implements SignatureRSA
public void init()
throws java.lang.Exception
init in interface SignatureRSAjava.lang.Exceptionpublic void setPubKey(byte[] e,
byte[] n)
throws java.lang.Exception
setPubKey in interface SignatureRSAjava.lang.Exceptionpublic void setPrvKey(byte[] d,
byte[] n)
throws java.lang.Exception
setPrvKey in interface SignatureRSAjava.lang.Exceptionpublic byte[] sign()
throws java.lang.Exception
sign in interface SignatureRSAjava.lang.Exceptionpublic void update(byte[] foo)
throws java.lang.Exception
update in interface SignatureRSAjava.lang.Exceptionpublic boolean verify(byte[] sig)
throws java.lang.Exception
verify in interface SignatureRSAjava.lang.Exception