kz.gamma.cms
Class CMSSignedDataStreamGenerator.CmsSignedDataOutputStream

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

private class CMSSignedDataStreamGenerator.CmsSignedDataOutputStream
extends java.io.OutputStream


Field Summary
private  DERObjectIdentifier _contentOID
           
private  BERSequenceGenerator _eiGen
           
private  java.io.OutputStream _out
           
private  BERSequenceGenerator _sGen
           
private  BERSequenceGenerator _sigGen
           
 
Constructor Summary
CMSSignedDataStreamGenerator.CmsSignedDataOutputStream(java.io.OutputStream out, java.lang.String contentOID, BERSequenceGenerator sGen, BERSequenceGenerator sigGen, 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 java.io.OutputStream _out

_contentOID

private DERObjectIdentifier _contentOID

_sGen

private BERSequenceGenerator _sGen

_sigGen

private BERSequenceGenerator _sigGen

_eiGen

private BERSequenceGenerator _eiGen
Constructor Detail

CMSSignedDataStreamGenerator.CmsSignedDataOutputStream

public CMSSignedDataStreamGenerator.CmsSignedDataOutputStream(java.io.OutputStream out,
                                                              java.lang.String contentOID,
                                                              BERSequenceGenerator sGen,
                                                              BERSequenceGenerator sigGen,
                                                              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.