Skip to content

# Asn1Object

Namespace: O2S.Components.PDF4NET.DigitalSignatures.Asn1

Defines the base class for ASN.1 objects.

    public abstract class Asn1Object

Inheritance Object → Asn1Object
Implements

## Properties

### Tag

Gets the object tag.

    public Asn1Tag Tag { get; }

Property Value

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

## Methods

### Compare(Asn1Object, Asn1Object)

Compares 2 ASN.1 objects based on their tag.

    public int Compare(Asn1Object x, Asn1Object y)

Parameters

`x` Asn1Object

`y` Asn1Object

Returns

Int32