TBSRequest
Class from RFC6960
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 TBSRequest class |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
fromSchema(schema: Object) Convert parsed asn1js object into current class |
|
| 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 Methods
public fromSchema(schema: Object) source
Convert parsed asn1js object into current class
Params:
| Name | Type | Attribute | Description |
| schema | Object |
|
public toSchema(encodeFlag: boolean): Object source
Convert current object to asn1js object and set correct values
Params:
| Name | Type | Attribute | Description |
| encodeFlag | boolean | If param equal to false then create TBS schema via decoding stored value. In othe case create TBS schema via assembling from TBS parts. |