- All Implemented Interfaces:
- Test
public class ECGOST3410KeyEncodingTest
extends SimpleTest
Checks the key algorithm OID chosen when encoding ECGOST3410 keys as SubjectPublicKeyInfo /
PrivateKeyInfo. A legacy GOST R 34.10-2001 parameter set combined with a GOST R 34.11-2012 digest
must encode as GOST R 34.10-2012 (RFC 9215, Section 4.2), while the same curve with a GOST R 34.11-94
digest remains GOST R 34.10-2001 (RFC 4491, Section 2.3.2). Also covers the OPTIONAL digestParamSet
of GostR3410-2012-PublicKeyParameters.