gnu.crypto.pki.provider
Class DSASignature
SignatureSpi
gnu.crypto.pki.provider.DSASignature
public class DSASignature
extends SignatureSpi
DSASignature
public DSASignature()
throws NoSuchAlgorithmException
engineGetParameter
public Object engineGetParameter(String param)
throws InvalidParameterException
engineInitSign
public void engineInitSign(PrivateKey privateKey)
throws InvalidKeyException
engineInitSign
public void engineInitSign(PrivateKey privateKey,
SecureRandom random)
throws InvalidKeyException
engineInitVerify
public void engineInitVerify(PublicKey publicKey)
throws InvalidKeyException
engineSetParameter
public void engineSetParameter(AlgorithmParameterSpec params)
throws InvalidAlgorithmParameterException
engineSetParameter
public void engineSetParameter(String param,
Object value)
throws InvalidParameterException
engineSign
public byte[] engineSign()
throws SignatureException
engineSign
public int engineSign(byte[] outbuf,
int offset,
int len)
throws SignatureException
engineUpdate
public void engineUpdate(byte b)
throws SignatureException
engineUpdate
public void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
engineVerify
public boolean engineVerify(byte[] sigBytes)
throws SignatureException
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.