Skip to main content

ChallengePasswordAttribute

Represents the Attribute structure

Extends

Constructors

new ChallengePasswordAttribute()

new ChallengePasswordAttribute(raw): ChallengePasswordAttribute

Creates a new instance from DER encoded buffer

Parameters

raw: BufferSource

DER encoded buffer

Returns

ChallengePasswordAttribute

Overrides

Attribute.constructor

new ChallengePasswordAttribute()

new ChallengePasswordAttribute(value): ChallengePasswordAttribute

Creates a new instance

Parameters

value: string

Returns

ChallengePasswordAttribute

Overrides

Attribute.constructor

Properties

password

password: string


rawData

readonly rawData: ArrayBuffer

Gets a DER encoded buffer

Inherited from

Attribute.rawData


type

type: string

Gets an attribute identifier

Inherited from

Attribute.type


values

values: ArrayBuffer[]

Gets a list of DER encoded attribute values

Inherited from

Attribute.values


NAME

static NAME: string = "Challenge Password"

Overrides

Attribute.NAME

Methods

equal()

equal(data): data is ChallengePasswordAttribute

Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

Parameters

data: any

Any data

Returns

data is ChallengePasswordAttribute

Inherited from

Attribute.equal


getTextName()

protected getTextName(): string

Returns

string

Inherited from

Attribute.getTextName


onInit()

protected onInit(asn): void

Occurs on instance initialization

Parameters

asn: Attribute

ASN.1 object

Returns

void

Overrides

Attribute.onInit


toString()

toString(format): string

Returns a string representation of an object.

Parameters

format: AsnDataStringFormat = "text"

Returns

string

Inherited from

Attribute.toString


toTextObject()

toTextObject(): TextObject

Returns the object in textual representation

Returns

TextObject

Overrides

Attribute.toTextObject


toTextObjectEmpty()

protected toTextObjectEmpty(value?): TextObject

Parameters

value?: string

Returns

TextObject

Inherited from

Attribute.toTextObjectEmpty


toTextObjectWithoutValue()

toTextObjectWithoutValue(): TextObject

Returns

TextObject

Inherited from

Attribute.toTextObjectWithoutValue