Commits

Benoît Allard  committed 0e37aac Draft

Export the secret key types at the API level

  • Participants
  • Parent commits 6fcfd6b

Comments (0)

Files changed (1)

File pythoncard/security/__init__.py

     INVALID_INIT = 4
     ILLEGAL_USE = 5
 
-from pythoncard.security import key, keybuilder, privatekey, publickey
+from pythoncard.security import key, keybuilder, privatekey, publickey, secretkey
 
 Key = key.Key
 KeyBuilder = keybuilder.KeyBuilder
 RSAPrivateCrtKey = privatekey.RSAPrivateCrtKey
 RSAPrivateKey = privatekey.RSAPrivateKey
 RSAPublicKey = publickey.RSAPublicKey
+SecretKey = secretkey.SecretKey
+DESKey = secretkey.DESKey
 
 from pythoncard.security import keypair