public class SignatureRSA extends Object implements SignatureRSA
| Constructor and Description |
|---|
SignatureRSA() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
void |
setPrvKey(byte[] d,
byte[] n) |
void |
setPubKey(byte[] e,
byte[] n) |
byte[] |
sign() |
void |
update(byte[] foo) |
boolean |
verify(byte[] sig) |
public void init()
throws Exception
public void setPubKey(byte[] e,
byte[] n)
throws Exception
setPubKey in interface SignatureRSAExceptionpublic void setPrvKey(byte[] d,
byte[] n)
throws Exception
setPrvKey in interface SignatureRSAExceptionpublic byte[] sign()
throws Exception
public void update(byte[] foo)
throws Exception
Copyright © 2019. All rights reserved.