Skip to content

Commit

Permalink
Export the secret key types at the API level
Browse files Browse the repository at this point in the history
  • Loading branch information
benallard committed Jan 21, 2013
1 parent 17ef982 commit dbd2010
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pythoncard/security/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class CryptoException(CardRuntimeException):
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
Expand All @@ -16,6 +16,8 @@ class CryptoException(CardRuntimeException):
RSAPrivateCrtKey = privatekey.RSAPrivateCrtKey
RSAPrivateKey = privatekey.RSAPrivateKey
RSAPublicKey = publickey.RSAPublicKey
SecretKey = secretkey.SecretKey
DESKey = secretkey.DESKey

from pythoncard.security import keypair

Expand Down

0 comments on commit dbd2010

Please sign in to comment.