CAdES

BES ДСТУ-7564

> CA.CMS.parseContentInfoFile "test/CAdES/CAdES-BES-DSTU-7564.p7s" [ resourceType: :SignedData, version: :v1, cert: [ [ resourceType: :Certificate, version: :v3, signatureAlgorithm: :"dstu4145WithDstu7564-256-pb", subject: [ cn: "ТЕСТ Тестовий Тест Тестович", sn: "Тестовий", givenName: "Тест Тестович", serialNumber: "TINUA-0000000000", c: "UA", l: "Київ" ], issuer: [ o: "ДП \"ДІЯ\" (ТЕСТ)", cn: "Адміністратор ІТС ЦЗО (CA TEST)", serialNumber: "UA-43395033-2101", c: "UA", l: "Київ", organizationIdentifier: "NTRUA-43395033" ], serial: "AhQ2MEOAPpo0HAQAAAAdBAAA93gAAA==", validity: [from: '240303220000Z', to: '260303215959Z'], publicKey: [ key: <<4, 33, 121, 221, 152, 77, 236, 173, 201, 100, 250, 238, 92, 70, 157, 98, 227, 160, 152, 230, 29, 146, 58, 153, 226, 211, 120, 225, 225, 99, 186, 145, 229, 220, 0>>, scheme: :"dstu4145WithGost34311-pb", field: {:DSTU4145Params, {:ecbinary, {:ECBinary, 0, {:BinaryField, 257, {:t, 12}}, 0, <<16, 190, 227, 219, 106, 234, 158, 31, 134, 87, 140, 69, 193, 37, 148, 255, 148, 35, 148, 167, 215, 56, 249, 24, 126, 101, ...>>, 57896044618658097711785492504343953926772365604796032451169741553099060627213, <<182, 15, 210, 216, 220, 232, 169, 52, 35, 198, 16, 27, 202, 145, 196, 122, 0, 126, 108, 48, 11, 38, 205, 85, ...>>}}, :asn1_NOVALUE} ], extensions: [ subjectKeyIdentifier: "kp9aEWgtlEkSLr8vGQioMLDN/LQmNdmqECPmQmwTpns=", authorityKeyIdentifier: "NjBDgD6aNByal5kSRWH423OMfj+3vaPxn+Y3qLHDyiA=", keyUsage: [:digitalSignature, :nonRepudiation], certificatePolicies: ["1.2.804.2.1.1.1.2.2", "1.3.6.1.5.5.7.2.1", "https://ca-test.czo.gov.ua/cps"], basicConstraints: [], qcStatements: ["0.4.0.1862.1.1", "0.4.0.1862.1.2", "UAH", "0.15.66.64", "0.0", "0.4.0.1862.1.5", "https://ca-test.czo.gov.ua/reglament", "en", "1.3.6.1.5.5.7.11.2", "0.4.0.194121.1.1", "1.2.804.2.1.1.1.2.1"], subjectAltName: ["[email protected]", "1.3.6.1.4.1.311.20.2.3", "1"], cRLDistributionPoints: ["http://ca-test.czo.gov.ua/download/crls/TestCSK-2021-Full.crl"], freshestCRL: ["http://ca-test.czo.gov.ua/download/crls/TestCSK-2021-Delta.crl"], authorityInfoAccess: [ {"1.3.6.1.5.5.7.48.2", "https://ca-test.czo.gov.ua/download/certificates/TestCA2021.p7b"}, {"1.3.6.1.5.5.7.48.1", "http://ca-test.czo.gov.ua/services/ocsp/"} ], subjectInfoAccess: [ {"1.3.6.1.5.5.7.48.3", "http://ca-test.czo.gov.ua/services/tsp/"} ], subjectDirectoryAttributes: [ {"1.2.804.2.1.1.1.11.1.4.1.1", "0000000000"} ] ] ] ], signerInfo: [ [ resourceType: :SignerInfo, issuer: [ o: "ДП \"ДІЯ\" (ТЕСТ)", cn: "Адміністратор ІТС ЦЗО (CA TEST)", serialNumber: "UA-43395033-2101", c: "UA", l: "Київ", organizationIdentifier: "NTRUA-43395033" ], keyAlg: :"dstu7564-256", signatureAlg: :"dstu4145WithDstu7564-256-pb", signedAttrs: [ contentType: :data, signingTime: "240304095950Z", messageDigest: "oC/g31yiEqnBJBMJHL/WfWeoMlawXZNYvah4ZQqtQCk=", signingCertificateV2: 309361817556530004395837158893863900220090744832, contentTimestamp: {"1.2.840.113549.1.7.2", 4611304, "20240304095951Z", "oC/g31yiEqnBJBMJHL/WfWeoMlawXZNYvah4ZQqtQCk="} ], attrs: [] ] ], signedContent: "Test\r\n" ]

˙