ASN1Set

Implements ASN1Encodable.

Represents an ASN.1 set and set-of value. While this implements ASN1Encodable, we recommend using ASN1EncodableSet for encoding sets instead since it represents sequence as an array of ASN1Encodable.

This does not automatically sort the elements as required by DER when encoding the value.

Constructor

function constructor(elements: ASN1Value[]): this;

Parameters

  • elements

Methods

Properties

interface Properties {
	class: ASN1Class;
	form: ASN1Form;
	tag: number;
	elements: ASN1Value[];
}
  • class
  • type
  • tag
  • elements