Table of Contents

Class TrustedAuthority

Namespace
Org.BouncyCastle.Tls
Assembly
BouncyCastle.Cryptography.dll
public sealed class TrustedAuthority
Inheritance
TrustedAuthority
Inherited Members

Constructors

TrustedAuthority(short, object)

public TrustedAuthority(short identifierType, object identifier)

Parameters

identifierType short
identifier object

Properties

Identifier

public object Identifier { get; }

Property Value

object

IdentifierType

public short IdentifierType { get; }

Property Value

short

X509Name

public X509Name X509Name { get; }

Property Value

X509Name

Methods

Encode(Stream)

Encode this TrustedAuthority to a Stream.

public void Encode(Stream output)

Parameters

output Stream

the Stream to encode to.

Exceptions

IOException

GetCertSha1Hash()

public byte[] GetCertSha1Hash()

Returns

byte[]

GetKeySha1Hash()

public byte[] GetKeySha1Hash()

Returns

byte[]

Parse(Stream)

Parse a TrustedAuthority from a Stream.

public static TrustedAuthority Parse(Stream input)

Parameters

input Stream

the Stream to parse from.

Returns

TrustedAuthority

a TrustedAuthority object.

Exceptions

IOException