org.javasign.operators
Class P7Generator

java.lang.Object
  |
  +--org.javasign.operators.P7Generator

public class P7Generator
extends java.lang.Object


Constructor Summary
P7Generator(java.io.File src, java.io.File dest, java.security.PrivateKey pkey, java.security.cert.X509Certificate cert, java.lang.String algorithm)
           
P7Generator(java.io.File src, java.security.PrivateKey pkey, java.security.cert.X509Certificate cert, java.lang.String algorithm)
           
 
Method Summary
 void generate()
           
 CMSSignedData generateSignedData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P7Generator

public P7Generator(java.io.File src,
                   java.io.File dest,
                   java.security.PrivateKey pkey,
                   java.security.cert.X509Certificate cert,
                   java.lang.String algorithm)

P7Generator

public P7Generator(java.io.File src,
                   java.security.PrivateKey pkey,
                   java.security.cert.X509Certificate cert,
                   java.lang.String algorithm)
Method Detail

generateSignedData

public CMSSignedData generateSignedData()
                                 throws java.io.FileNotFoundException,
                                        java.io.IOException,
                                        java.security.NoSuchAlgorithmException,
                                        java.security.NoSuchProviderException,
                                        java.security.InvalidAlgorithmParameterException,
                                        CMSException,
                                        java.security.cert.CertStoreException
java.io.FileNotFoundException
java.io.IOException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
java.security.InvalidAlgorithmParameterException
CMSException
java.security.cert.CertStoreException

generate

public void generate()
              throws java.io.FileNotFoundException,
                     java.io.IOException,
                     java.security.NoSuchAlgorithmException,
                     java.security.NoSuchProviderException,
                     java.security.InvalidAlgorithmParameterException,
                     CMSException,
                     java.security.cert.CertStoreException
java.io.FileNotFoundException
java.io.IOException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
java.security.InvalidAlgorithmParameterException
CMSException
java.security.cert.CertStoreException