Table of Contents

Class OtherKeyAttribute

Namespace
Org.BouncyCastle.Asn1.Cms
Assembly
BouncyCastle.Cryptography.dll
public class OtherKeyAttribute : Asn1Encodable, IAsn1Convertible
Inheritance
OtherKeyAttribute
Implements
Inherited Members

Constructors

OtherKeyAttribute(Asn1Sequence)

[Obsolete("Use 'GetInstance' instead")]
public OtherKeyAttribute(Asn1Sequence seq)

Parameters

seq Asn1Sequence

OtherKeyAttribute(DerObjectIdentifier, Asn1Encodable)

public OtherKeyAttribute(DerObjectIdentifier keyAttrId, Asn1Encodable keyAttr)

Parameters

keyAttrId DerObjectIdentifier
keyAttr Asn1Encodable

Properties

KeyAttr

public Asn1Encodable KeyAttr { get; }

Property Value

Asn1Encodable

KeyAttrId

public DerObjectIdentifier KeyAttrId { get; }

Property Value

DerObjectIdentifier

Methods

GetInstance(Asn1TaggedObject, bool)

public static OtherKeyAttribute GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

OtherKeyAttribute

GetInstance(object)

public static OtherKeyAttribute GetInstance(object obj)

Parameters

obj object

Returns

OtherKeyAttribute

GetOptional(Asn1Encodable)

public static OtherKeyAttribute GetOptional(Asn1Encodable element)

Parameters

element Asn1Encodable

Returns

OtherKeyAttribute

GetTagged(Asn1TaggedObject, bool)

public static OtherKeyAttribute GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

OtherKeyAttribute

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object