Constructor
new Set(object)
Create class with type and value structure
SET OF attribute and SEQUENCE OF attribute metaclass
SET OF attribute and SEQUENCE OF attribute metaclass
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object | object value |
- Source:
Methods
-
(static) decode(source) → {GostASN1.Sequence}
-
Decode source and create object
Parameters:
Name Type Description sourceFormatedData Encoded data - Source:
Returns:
- Type
- GostASN1.Sequence
-
(static) encode(object, format) → {FormatedData}
-
Encode data values with creating object
Parameters:
Name Type Description objectObject Javascript object to encoding formatstring Encoding format 'DER', 'CER' or 'PEM' - Source:
Returns:
- Type
- FormatedData
-
check()
-
Check the object structure
- Source:
-
decode(source)
-
Decode the source to self object
Parameters:
Name Type Description sourceFormatedData Encoded data - Source:
-
encode(format) → {FormatedData}
-
Encode the object
Parameters:
Name Type Description formatstring Encoding format 'DER', 'CER' or 'PEM' - Source:
Returns:
- Type
- FormatedData