A wrapper to present a cryptography api but use the pycryptodome module.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
234 B

  1. from .asymmetric.ec import load_der_private_key
  2. class Encoding:
  3. X962 = 'SEC1'
  4. Raw = 'raw'
  5. DER = 'DER'
  6. class PublicFormat:
  7. UncompressedPoint = 'nocompress'
  8. class PrivateFormat:
  9. PKCS8 = 'pkcs8'
  10. def NoEncryption():
  11. return None