gnu.crypto.jce.sig
Class RSAPSSRawSignatureSpi
java.lang.Object
java.security.SignatureSpi
gnu.crypto.jce.sig.SignatureAdapter
gnu.crypto.jce.sig.RSAPSSRawSignatureSpi
- All Implemented Interfaces:
- Cloneable
- public class RSAPSSRawSignatureSpi
- extends SignatureAdapter
The implementation of Service Provider Interface (SPI) adapter
for the RSA-PSS signature scheme, encoded and/or decoded in RAW format.
- Version:
- $Revision: 1.2 $
RSAPSSRawSignatureSpi
public RSAPSSRawSignatureSpi()
clone
public Object clone()
engineInitVerify
public void engineInitVerify(PublicKey publicKey)
throws InvalidKeyException
- Throws:
InvalidKeyException
engineInitSign
public void engineInitSign(PrivateKey privateKey)
throws InvalidKeyException
- Throws:
InvalidKeyException
engineInitSign
public void engineInitSign(PrivateKey privateKey,
SecureRandom random)
throws InvalidKeyException
- Throws:
InvalidKeyException
engineUpdate
public void engineUpdate(byte b)
throws SignatureException
- Throws:
SignatureException
engineUpdate
public void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
- Throws:
SignatureException
engineSign
public byte[] engineSign()
throws SignatureException
- Throws:
SignatureException
engineSign
public int engineSign(byte[] outbuf,
int offset,
int len)
throws SignatureException
- Throws:
SignatureException
engineVerify
public boolean engineVerify(byte[] sigBytes)
throws SignatureException
- Throws:
SignatureException
engineSetParameter
public void engineSetParameter(String param,
Object value)
throws InvalidParameterException
- Throws:
InvalidParameterException
engineSetParameter
public void engineSetParameter(AlgorithmParameterSpec params)
throws InvalidAlgorithmParameterException
- Throws:
InvalidAlgorithmParameterException
engineGetParameter
public Object engineGetParameter(String param)
throws InvalidParameterException
- Throws:
InvalidParameterException
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.