Constructor
new GostSignature()
Gost Signature encode signature values for different GOST signatures
Support algorithms:
{
'id-GostR3410-94': GostR3410Signature,
'id-GostR3410-2001': GostR3410Signature,
'id-tc26-gost3410-12-256': GostR3410Signature,
'id-tc26-gost3410-12-512': GostR3410Signature,
'id-GostR3411-94-with-GostR3410-2001': GostR3410Signature,
'id-GostR3411-94-with-GostR3410-94': GostR3410Signature,
'id-tc26-signwithdigest-gost3410-12-94': GostR3410Signature,
'id-tc26-signwithdigest-gost3410-12-256': GostR3410Signature,
'id-tc26-signwithdigest-gost3410-12-512': GostR3410Signature,
'id-sc-gostR3410-94': ECDHSignature,
'id-sc-gostR3410-2001': ECDHSignature,
'id-sc-gostR3411-94-with-gostR3410-94': ECDHSignature,
'id-sc-gostR3411-94-with-gostR3410-2001': ECDHSignature
}
- Source:
Extends
Methods
-
check()
-
Check the object structure
- Inherited From:
- Source:
-
decode(source)
-
Decode the source to self object
Parameters:
Name Type Description sourceFormatedData Encoded data - Inherited From:
- Source:
-
encode(format) → {FormatedData}
-
Encode the object
Parameters:
Name Type Description formatstring Encoding format 'DER', 'CER' or 'PEM' - Inherited From:
- Source:
Returns:
- Type
- FormatedData