import RelativeDistinguishedNames from 'pkijs/src/RelativeDistinguishedNames.js'RelativeDistinguishedNames
Class from RFC5280
Static Method Summary
| Static Public Methods | ||
| public static |
compareWithDefault(memberName: string, memberValue: *): * Compare values with default values for all class members |
|
| public static |
defaultValues(memberName: string): * Return default values for all class members |
|
| public static |
Return value of asn1js schema for current class |
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(parameters: Object) Constructor for RelativeDistinguishedNames class |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
fromSchema(schema: Object) Convert parsed asn1js object into current class |
|
| public |
isEqual(compareTo: RelativeDistinguishedNames | ArrayBuffer): boolean Compare two RDN values, or RDN with ArrayBuffer value |
|
| public |
Convertion for the class to JSON object |
|
| public |
Convert current object to asn1js object and set correct values |
|
Static Public Methods
public static compareWithDefault(memberName: string, memberValue: *): * source
Compare values with default values for all class members
Params:
| Name | Type | Attribute | Description |
| memberName | string | String name for a class member |
|
| memberValue | * | Value to compare with default value |
Return:
| * |
Public Constructors
Public Members
public typesAndValues: Array<AttributeTypeAndValue> source
public valueBeforeDecode: ArrayBuffer source
Public Methods
public fromSchema(schema: Object) source
Convert parsed asn1js object into current class
Params:
| Name | Type | Attribute | Description |
| schema | Object |
|
public isEqual(compareTo: RelativeDistinguishedNames | ArrayBuffer): boolean source
Compare two RDN values, or RDN with ArrayBuffer value
Params:
| Name | Type | Attribute | Description |
| compareTo | RelativeDistinguishedNames | ArrayBuffer | The value compare to current |