Table of Contents

Class Asn1Encodable

Namespace
Org.BouncyCastle.Asn1
Assembly
BouncyCastle.Cryptography.dll
public abstract class Asn1Encodable : IAsn1Convertible
Inheritance
Asn1Encodable
Implements
Derived
Inherited Members

Fields

Ber

public const string Ber = "BER"

Field Value

string

DL

public const string DL = "DL"

Field Value

string

Der

public const string Der = "DER"

Field Value

string

Methods

EncodeTo(Stream)

public virtual void EncodeTo(Stream output)

Parameters

output Stream

EncodeTo(Stream, string)

public virtual void EncodeTo(Stream output, string encoding)

Parameters

output Stream
encoding string

Equals(object)

Determines whether the specified object is equal to the current object.

public override sealed bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetDerEncoded()

public byte[] GetDerEncoded()

Returns

byte[]

GetEncoded()

public byte[] GetEncoded()

Returns

byte[]

GetEncoded(string)

public byte[] GetEncoded(string encoding)

Parameters

encoding string

Returns

byte[]

GetHashCode()

Serves as the default hash function.

public override sealed int GetHashCode()

Returns

int

A hash code for the current object.

ToAsn1Object()

public abstract Asn1Object ToAsn1Object()

Returns

Asn1Object