Class DERPrivate

    • Constructor Detail

      • DERPrivate

        public DERPrivate​(int tag,
                          byte[] octets)
        Create an private object from the passed in data. This will assume the data does not represent a constructed object.
        Parameters:
        tag - the tag number for this object.
        octets - the encoding of the object's body.
      • DERPrivate

        public DERPrivate​(int tag,
                          ASN1Encodable object)
                   throws java.io.IOException
        Create an private object with a tagging of explicit/constructed.
        Parameters:
        tag - the tag number for this object.
        object - the object to be contained.
        Throws:
        java.io.IOException
      • DERPrivate

        public DERPrivate​(boolean constructed,
                          int tag,
                          ASN1Encodable object)
                   throws java.io.IOException
        Create an private object with the tagging style given by the value of constructed.
        Parameters:
        constructed - true if the object is constructed.
        tag - the tag number for this object.
        object - the object to be contained.
        Throws:
        java.io.IOException
      • DERPrivate

        public DERPrivate​(int tagNo,
                          ASN1EncodableVector vec)
        Create an private object which is marked as constructed
        Parameters:
        tagNo - the tag number for this object.
        vec - the objects making up the private object.