CAdES

BES ECDSA

> CA.CMS.parseContentInfoFile "test/CAdES/CAdES-BES-ECDSA.p7s" [ resourceType: :SignedData, version: :v1, cert: [ [ resourceType: :Certificate, version: :v3, signatureAlgorithm: :"ecdsa-with-SHA256", subject: [ cn: "TEST Testovyi Test", sn: "Testovyi", givenName: "Test", serialNumber: "TINUA-1234567892", c: "UA", stateOrProvinceName: "Kyiv" ], issuer: [ o: "SE \"DIIA\" (TEST)", cn: "Administrator ITS CCA (CA TEST)", serialNumber: "UA-43395033-2103", c: "UA", l: "Kyiv", organizationIdentifier: "NTRUA-43395033" ], serial: "AhQ4DG1DaHVM1AQAAAALCAAA/ngAAA==", validity: [from: '240303220000Z', to: '260303215959Z'], publicKey: [ x: 28273171398966487279252849859935782854380167642855015676032950615658435636551, y: 14270082180422333388068815404593533058387584764470228336285637871520597981100, scheme: :"id-ecPublicKey", curve: :secp256r1 ], extensions: [ subjectKeyIdentifier: "SFzrmnjq0Z/RoS8zgw0IPsbf+mA=", authorityKeyIdentifier: "uAxtQ2h1TNSA1tLEniBLmBnCKPg=", keyUsage: [:digitalSignature, :nonRepudiation, :keyAgreement], 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", "0.4.0.1862.1.7", "UA", "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]"], cRLDistributionPoints: ["http://ca-test.czo.gov.ua/download/crls/TestCSK-ECDSA-2021-Full.crl"], freshestCRL: ["http://ca-test.czo.gov.ua/download/crls/TestCSK-ECDSA-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/ecdsa/"} ], subjectDirectoryAttributes: [ {"1.2.804.2.1.1.1.11.1.4.1.1", "1234567892"} ] ] ] ], signerInfo: [ [ resourceType: :SignerInfo, issuer: [ o: "SE \"DIIA\" (TEST)", cn: "Administrator ITS CCA (CA TEST)", serialNumber: "UA-43395033-2103", c: "UA", l: "Kyiv", organizationIdentifier: "NTRUA-43395033" ], keyAlg: :sha256, signatureAlg: :"ecdsa-with-SHA256", signedAttrs: [ contentType: :data, signingTime: "240304105050Z", messageDigest: "fdkeB/A0FkbVP2k4J4pNPoeWH6vqBm9+b0C3OY87Cw8=", signingCertificateV2: 319980610285451294959334116032709222651938734080, contentTimestamp: {"1.2.840.113549.1.7.2", 4625554, "20240304105050Z", "fdkeB/A0FkbVP2k4J4pNPoeWH6vqBm9+b0C3OY87Cw8="} ], attrs: [] ] ], signedContent: "Test\r\n" ]

˙