public abstract class AbstractSignature extends java.lang.Object implements Signature
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
algorithm |
protected java.security.Signature |
signature |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSignature(java.lang.String algorithm) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
extractSig(byte[] sig) |
void |
init(java.security.PublicKey pubkey,
java.security.PrivateKey prvkey)
Initialize this signature with the given public key and private key.
|
void |
update(byte[] foo,
int off,
int len)
Update the computed signature with the given data
|
protected java.security.Signature signature
protected java.lang.String algorithm
public void init(java.security.PublicKey pubkey,
java.security.PrivateKey prvkey)
throws java.lang.Exception
Signaturepublic void update(byte[] foo,
int off,
int len)
throws java.lang.Exception
Signatureprotected byte[] extractSig(byte[] sig)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.