Class DERGenerator

java.lang.Object
org.bouncycastle.asn1.ASN1Generator
org.bouncycastle.asn1.DERGenerator
Direct Known Subclasses:
DERSequenceGenerator

public abstract class DERGenerator extends ASN1Generator
Basic class for streaming DER encoding generators.
  • Constructor Details

    • DERGenerator

      protected DERGenerator(OutputStream out)
    • DERGenerator

      public DERGenerator(OutputStream out, int tagNo, boolean isExplicit)
      Create a DER encoding generator for a tagged object.
      Parameters:
      out - the output stream to encode objects to.
      tagNo - the tag number to head the output stream with.
      isExplicit - true if the tagging should be explicit, false otherwise.