Skip to content

Commit

Permalink
Update CertManager.sol (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
aso20455 authored Feb 11, 2025
1 parent 977d4bd commit 8677eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CertManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ contract CertManager is ICertManager {

// OID 1.2.840.10045.4.3.3 represents {iso(1) member-body(2) us(840) ansi-x962(10045) signatures(4) ecdsa-with-SHA2(3) ecdsa-with-SHA384(3)}
// which essentially means the signature algorithm is Elliptic curve Digital Signature Algorithm (DSA) coupled with the Secure Hash Algorithm 384 (SHA384) algorithm
// @dev Sig algo is hardcoded here because the root cerificate's sig algorithm is known beforehand
// @dev Sig algo is hardcoded here because the root certificate's sig algorithm is known beforehand
// @dev reference article for encoding https://learn.microsoft.com/en-in/windows/win32/seccertenroll/about-object-identifier
bytes32 public constant CERT_ALGO_OID = 0x53ce037f0dfaa43ef13b095f04e68a6b5e3f1519a01a3203a1e6440ba915b87e; // keccak256(hex"06082a8648ce3d040303")
// https://oid-rep.orange-labs.fr/get/1.2.840.10045.2.1
Expand Down

0 comments on commit 8677eb5

Please sign in to comment.