wrap.asn1 1.0 KB

1234567891011121314151617181920212223242526
  1. -- Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
  2. --
  3. -- Licensed under the Apache License 2.0 (the "License"). You may not use
  4. -- this file except in compliance with the License. You can obtain a copy
  5. -- in the file LICENSE in the source distribution or at
  6. -- https://www.openssl.org/source/license.html
  7. -- -------------------------------------------------------------------
  8. -- Taken from RFC 3370, Section 4.3.1 Triple-DES Key Wrap
  9. -- (https://tools.ietf.org/html/rfc3370)
  10. id-alg-CMS3DESwrap OBJECT IDENTIFIER ::= {
  11. iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 6
  12. }
  13. -- -------------------------------------------------------------------
  14. -- Taken from RFC 3394, Section 3. Object Identifiers
  15. -- (https://tools.ietf.org/html/rfc3565)
  16. aes OBJECT IDENTIFIER ::= {
  17. joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101) csor(3) nistAlgorithm(4) 1
  18. }
  19. id-aes128-wrap OBJECT IDENTIFIER ::= { aes 5 }
  20. id-aes192-wrap OBJECT IDENTIFIER ::= { aes 25 }
  21. id-aes256-wrap OBJECT IDENTIFIER ::= { aes 45 }