Class DERExternal

All Implemented Interfaces:
ASN1Encodable, Encodable

public class DERExternal extends ASN1External
Class representing the DER-type External
  • Constructor Details

    • DERExternal

      public DERExternal(ASN1EncodableVector vector)
      Deprecated.
      Construct a DER EXTERNAL object, the input encoding vector must have exactly two elements on it.

      Acceptable input formats are:

      Throws:
      IllegalArgumentException - if input size is wrong, or input is not an acceptable format
    • DERExternal

      public DERExternal(DERSequence sequence)
      Construct a DER EXTERNAL object, the input sequence must have exactly two elements on it.

      Acceptable input formats are:

      Throws:
      IllegalArgumentException - if input size is wrong, or input is not an acceptable format
    • DERExternal

      public DERExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, DERTaggedObject externalData)
      Creates a new instance of DERExternal See X.690 for more informations about the meaning of these parameters
      Parameters:
      directReference - The direct reference or null if not set.
      indirectReference - The indirect reference or null if not set.
      dataValueDescriptor - The data value descriptor or null if not set.
      externalData - The external data in its encoded form.
    • DERExternal

      public DERExternal(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, int encoding, ASN1Primitive externalData)
      Creates a new instance of DERExternal. See X.690 for more informations about the meaning of these parameters
      Parameters:
      directReference - The direct reference or null if not set.
      indirectReference - The indirect reference or null if not set.
      dataValueDescriptor - The data value descriptor or null if not set.
      encoding - The encoding to be used for the external data
      externalData - The external data