WebCrypto GOST Class: GostSecurity

GostSecurity

Constructor

new GostSecurity()

GOST and common ASN.1 Object and Algorithm Identifiers
Source:

Members

(static) algorithms

Algorithm identifiers gostCrypto.AlgorithmIdentifier for Object Identifiers
Source:

(static) attributes

Named attributes for Algorithm identifiers AlgorithmIdentifier

Recognized attributes:
  • sBox - Paramsets for GOST 28147. Supported values:
    • D-TEST - id-GostR3411-94-TestParamSet
    • D-A - id-GostR3411-94-CryptoProParamSet
    • D-B - id-GostR3411-94-CryptoPro-A-ParamSet
    • D-C - id-GostR3411-94-CryptoPro-B-ParamSet
    • D-D - id-GostR3411-94-CryptoPro-C-ParamSet
    • E-TEST - id-Gost28147-89-TestParamSet
    • E-A - id-Gost28147-89-CryptoPro-A-ParamSet
    • E-B - id-Gost28147-89-CryptoPro-B-ParamSet
    • E-C - id-Gost28147-89-CryptoPro-C-ParamSet
    • E-D - id-Gost28147-89-CryptoPro-D-ParamSet
    • E-Z - id-tc26-gost-28147-param-Z
    • D-256 - id-tc26-gost3411-12-256
    • D-512 - id-tc26-gost3411-12-512
  • namedParam - Paramset for GOST R 34.10-94
    • S-TEST - id-GostR3410-94-TestParamSet
    • S-A - id-GostR3410-94-CryptoPro-A-ParamSet
    • S-B - id-GostR3410-94-CryptoPro-B-ParamSet
    • S-C - id-GostR3410-94-CryptoPro-C-ParamSet
    • S-D - id-GostR3410-94-CryptoPro-D-ParamSet
    • X-A - id-GostR3410-94-CryptoPro-XchA-ParamSet
    • X-B - id-GostR3410-94-CryptoPro-XchB-ParamSet
    • X-C - id-GostR3410-94-CryptoPro-XchC-ParamSet
  • namedCurve - Paramset for GOST R 34.10-01 and GOST R 34.10-12
    • S-256-TEST - id-GostR3410-2001-CryptoPro-TestParamSet
    • S-256-A - id-GostR3410-2001-CryptoPro-A-ParamSet
    • S-256-B - id-GostR3410-2001-CryptoPro-B-ParamSet
    • S-256-C - id-GostR3410-2001-CryptoPro-C-ParamSet
    • X-256-A - id-GostR3410-2001-CryptoPro-XchA-ParamSet
    • X-256-B - id-GostR3410-2001-CryptoPro-XchB-ParamSet
    • P-256 - secp256r1
    • T-256-TEST - id-tc26-gost-3410-12-256-paramSetTest
    • T-256-A - id-tc26-gost-3410-12-256-paramSetA
    • T-256-B - id-tc26-gost-3410-12-256-paramSetB
    • T-512-TEST - id-tc26-gost-3410-12-512-paramSetTest
    • T-512-A - id-tc26-gost-3410-12-512-paramSetA
    • T-512-B - id-tc26-gost-3410-12-512-paramSetB
Source:

(static) identifiers

ASN.1 Object Identifiers for friandly names Generated automaticly
Source:

(static) names

Freandly names for ASN.1 Object Identifiers
Source:

(static) parameters

Algorithm parameters
Source:

(static) providers

Set of algorithms for different providers

Supported providers:
  • CP-94 - CryptoPro GOST R 34.10-94 algorithm set
  • CP-01 - CryptoPro GOST R 34.10-2001 algorithm set
  • TC-256 - Technical Commitee GOST R 34.10-256 algorithm set
  • TC-512 - Technical Commitee GOST R 34.10-512 algorithm set
  • SC-94 - SignalCom GOST R 34.10-94 algorithm set
  • SC-01 - SignalCom GOST R 34.10-2001 algorithm set
Follow set can be used if it's supported your browser native WebCrypto API:
  • RSA-2048 - RSA Encryption 2048 bits with SHA-256 algorithm set
  • ECDSA-256 - ECDSA-256 with SHA-256 algorithm set
Each provider records has follow standart algorithm identifiers:
  • signature - Signature algorithm
  • generation - Asymmetric key generation algorithm
  • digest - Digest algorithm
  • wrapping - Key wrapping algorithm
  • hmac - Hash-based message authentication code algorithm
  • agreement - Key agreement algorithm (except RSA schema)
  • encryption - Content encription algorithm
  • derivation - Password-based derivation algorithm
  • pbes - Password-based encryption algorithm
  • pbmac - Password-based message authentication code algorithm
Source: