Class ConstructedDEREncoder

    • Field Detail

      • derEncoders

        private final DEREncoder[] derEncoders
        Encoders in this sequence.
    • Constructor Detail

      • ConstructedDEREncoder

        public ConstructedDEREncoder​(DERTag tag,
                                     DEREncoder... encoders)
        Creates a new sequence encoder.
        tag - der tag associated with this type
        encoders - to encode in this sequence
    • Method Detail

      • encode

        public byte[] encode()
        Description copied from interface: DEREncoder
        Encode this object into it's DER type.
        Specified by:
        encode in interface DEREncoder
        DER encoded object