For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.sig
Class RSAPSSRawSignatureSpi

java.lang.Object
  extended byjava.security.SignatureSpi
      extended bygnu.crypto.jce.sig.SignatureAdapter
          extended bygnu.crypto.jce.sig.RSAPSSRawSignatureSpi
All Implemented Interfaces:
java.lang.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 $

Field Summary
 
Fields inherited from class java.security.SignatureSpi
appRandom
 
Constructor Summary
RSAPSSRawSignatureSpi()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.Object engineGetParameter(java.lang.String param)
           
 void engineInitSign(java.security.PrivateKey privateKey)
           
 void engineInitSign(java.security.PrivateKey privateKey, java.security.SecureRandom random)
           
 void engineInitVerify(java.security.PublicKey publicKey)
           
 void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
           
 void engineSetParameter(java.lang.String param, java.lang.Object value)
           
 byte[] engineSign()
           
 int engineSign(byte[] outbuf, int offset, int len)
           
 void engineUpdate(byte b)
           
 void engineUpdate(byte[] b, int off, int len)
           
 boolean engineVerify(byte[] sigBytes)
           
 
Methods inherited from class java.security.SignatureSpi
engineGetParameters, engineVerify
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAPSSRawSignatureSpi

public RSAPSSRawSignatureSpi()
Method Detail

clone

public java.lang.Object clone()

engineInitVerify

public void engineInitVerify(java.security.PublicKey publicKey)
                      throws java.security.InvalidKeyException
Throws:
java.security.InvalidKeyException

engineInitSign

public void engineInitSign(java.security.PrivateKey privateKey)
                    throws java.security.InvalidKeyException
Throws:
java.security.InvalidKeyException

engineInitSign

public void engineInitSign(java.security.PrivateKey privateKey,
                           java.security.SecureRandom random)
                    throws java.security.InvalidKeyException
Throws:
java.security.InvalidKeyException

engineUpdate

public void engineUpdate(byte b)
                  throws java.security.SignatureException
Throws:
java.security.SignatureException

engineUpdate

public void engineUpdate(byte[] b,
                         int off,
                         int len)
                  throws java.security.SignatureException
Throws:
java.security.SignatureException

engineSign

public byte[] engineSign()
                  throws java.security.SignatureException
Throws:
java.security.SignatureException

engineSign

public int engineSign(byte[] outbuf,
                      int offset,
                      int len)
               throws java.security.SignatureException
Throws:
java.security.SignatureException

engineVerify

public boolean engineVerify(byte[] sigBytes)
                     throws java.security.SignatureException
Throws:
java.security.SignatureException

engineSetParameter

public void engineSetParameter(java.lang.String param,
                               java.lang.Object value)
                        throws java.security.InvalidParameterException
Throws:
java.security.InvalidParameterException

engineSetParameter

public void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
                        throws java.security.InvalidAlgorithmParameterException
Throws:
java.security.InvalidAlgorithmParameterException

engineGetParameter

public java.lang.Object engineGetParameter(java.lang.String param)
                                    throws java.security.InvalidParameterException
Throws:
java.security.InvalidParameterException

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.