ASN1EncodableSet

Implements ASN1Encodable.

Represents an ASN.1 set and set-of value. Unlike ASN1Set, this is represented as an array of ASN1Encodable instead of ASN1Value, which makes it friendlier to use when encoding.

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

Constructor

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

Parameters

  • elements

Methods

Properties

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