2
0

DSA.asn1 1.1 KB

1234567891011121314151617181920212223242526272829
  1. -- -------------------------------------------------------------------
  2. -- Taken from RFC 3279, 3 ASN.1 Module
  3. -- (https://www.rfc-editor.org/rfc/rfc3279.html#section-3)
  4. -- OID for DSA public key
  5. id-dsa OBJECT IDENTIFIER ::= {
  6. iso(1) member-body(2) us(840) x9-57(10040) x9algorithm(4) 1 }
  7. -- OID for DSA signature generated with SHA-1 hash
  8. id-dsa-with-sha1 OBJECT IDENTIFIER ::= {
  9. iso(1) member-body(2) us(840) x9-57 (10040) x9algorithm(4) 3 }
  10. -- -------------------------------------------------------------------
  11. -- Taken from https://csrc.nist.gov/projects/computer-security-objects-register/algorithm-registration
  12. sigAlgs OBJECT IDENTIFIER ::= { 2 16 840 1 101 3 4 3 }
  13. id-dsa-with-sha224 OBJECT IDENTIFIER ::= { sigAlgs 1 }
  14. id-dsa-with-sha256 OBJECT IDENTIFIER ::= { sigAlgs 2 }
  15. id-dsa-with-sha384 OBJECT IDENTIFIER ::= { sigAlgs 3 }
  16. id-dsa-with-sha512 OBJECT IDENTIFIER ::= { sigAlgs 4 }
  17. id-dsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 5 }
  18. id-dsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 6 }
  19. id-dsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 7 }
  20. id-dsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 8 }