kz.gamma.cms
Class CMSEnvelopedDataStreamGenerator.CmsEnvelopedDataOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by kz.gamma.cms.CMSEnvelopedDataStreamGenerator.CmsEnvelopedDataOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
CMSEnvelopedDataStreamGenerator

private class CMSEnvelopedDataStreamGenerator.CmsEnvelopedDataOutputStream
extends java.io.OutputStream


Field Summary
private  BERSequenceGenerator _cGen
           
private  BERSequenceGenerator _eiGen
           
private  BERSequenceGenerator _envGen
           
private  javax.crypto.CipherOutputStream _out
           
 
Constructor Summary
CMSEnvelopedDataStreamGenerator.CmsEnvelopedDataOutputStream(javax.crypto.CipherOutputStream out, BERSequenceGenerator cGen, BERSequenceGenerator envGen, BERSequenceGenerator eiGen)
           
 
Method Summary
 void close()
           
 void write(byte[] bytes)
           
 void write(byte[] bytes, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_out

private javax.crypto.CipherOutputStream _out

_cGen

private BERSequenceGenerator _cGen

_envGen

private BERSequenceGenerator _envGen

_eiGen

private BERSequenceGenerator _eiGen
Constructor Detail

CMSEnvelopedDataStreamGenerator.CmsEnvelopedDataOutputStream

public CMSEnvelopedDataStreamGenerator.CmsEnvelopedDataOutputStream(javax.crypto.CipherOutputStream out,
                                                                    BERSequenceGenerator cGen,
                                                                    BERSequenceGenerator envGen,
                                                                    BERSequenceGenerator eiGen)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] bytes,
                  int off,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] bytes)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.OutputStream
Throws:
java.io.IOException


Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.