Skip to content

# Asn1Sequence

Namespace: O2S.Components.PDF4NET.DigitalSignatures.Asn1

Defines an ASN.1 SEQUENCE object.

    public class Asn1Sequence : Asn1Object

Inheritance Object → Asn1Object → Asn1Sequence
Implements

## Properties

### Count

Gets the number of the items in the sequence.

    public int Count { get; }

Property Value

Int32

### IsReadOnly

Gets a flag indicating whether the sequence is read-only.

    public bool IsReadOnly { get; }

Property Value

Boolean

### Item

    public Asn1Object Item { get; set; }

Property Value

Asn1Object

### Tag

Gets the object tag.

    public Asn1Tag Tag { get; }

Property Value

Asn1Tag
A Asn1Tag enum member specifying the type of the object.

## Methods

### Add(Asn1Object)

    public void Add(Asn1Object item)

Parameters

`item` Asn1Object

### Clear()

    public void Clear()

### Contains(Asn1Object)

    public bool Contains(Asn1Object item)

Parameters

`item` Asn1Object

Returns

Boolean

### CopyTo(Asn1Object[], Int32)

    public void CopyTo(Asn1Object[] array, int arrayIndex)

Parameters

`array` Asn1Object[]

`arrayIndex` Int32

### GetEnumerator()

    public IEnumerator<Asn1Object> GetEnumerator()

Returns

IEnumerator<Asn1Object>

### IndexOf(Asn1Object)

    public int IndexOf(Asn1Object item)

Parameters

`item` Asn1Object

Returns

Int32

### Insert(Int32, Asn1Object)

    public void Insert(int index, Asn1Object item)

Parameters

`index` Int32

`item` Asn1Object

### Remove(Asn1Object)

    public bool Remove(Asn1Object item)

Parameters

`item` Asn1Object

Returns

Boolean

### RemoveAt(Int32)

    public void RemoveAt(int index)

Parameters

`index` Int32