From 3ab9cc731f4d352a64cb7df1a0646ba6faa39686 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Mon, 20 Jan 2020 15:08:04 +0300 Subject: x509: add OGRNIP DN entry definition used by qualified GOST certificates Signed-off-by: Dmitry Baryshkov --- lib/x509/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/x509/common.c b/lib/x509/common.c index 04a984253e..4939d07d2b 100644 --- a/lib/x509/common.c +++ b/lib/x509/common.c @@ -136,6 +136,8 @@ static const struct oid_to_string _oid2str[] = { ENTRY("1.2.643.100.1", "OGRN", NULL, ASN1_ETYPE_NUMERIC_STRING), /* Individual insurance account number */ ENTRY("1.2.643.100.3", "SNILS", NULL, ASN1_ETYPE_NUMERIC_STRING), + /* Main state registration number for individual enterpreneurs */ + ENTRY("1.2.643.100.5", "OGRNIP", NULL, ASN1_ETYPE_NUMERIC_STRING), /* VAT identification number */ ENTRY("1.2.643.3.131.1.1", "INN", NULL, ASN1_ETYPE_NUMERIC_STRING), -- cgit v1.2.1