mirror of
https://github.com/openkmip/pykmip
synced 2025-12-15 15:53:36 +00:00
Add encryption support to the server cryptography engine
This change adds encryption functionality to the cryptographic engine used by the server. It supports a variety of symmetric encryption algorithms and block cipher modes. Asymmetric encryption support will be added in a future patch. Unit tests and minor updates to surrounding core code are included.
This commit is contained in:
@@ -421,16 +421,16 @@ class Operation(enum.Enum):
|
||||
|
||||
|
||||
class PaddingMethod(enum.Enum):
|
||||
NONE = 0x00000001
|
||||
OAEP = 0x00000002
|
||||
PKCS5 = 0x00000003
|
||||
SSL3 = 0x00000004
|
||||
ZEROS = 0x00000005
|
||||
ANSI_X9_23 = 0x00000006
|
||||
ISO_10126 = 0x00000007
|
||||
PKCS1_V_1_5 = 0x00000008
|
||||
X9_31 = 0x00000009
|
||||
PSS = 0x0000000A
|
||||
NONE = 0x00000001
|
||||
OAEP = 0x00000002
|
||||
PKCS5 = 0x00000003
|
||||
SSL3 = 0x00000004
|
||||
ZEROS = 0x00000005
|
||||
ANSI_X923 = 0x00000006
|
||||
ISO_10126 = 0x00000007
|
||||
PKCS1v15 = 0x00000008
|
||||
X931 = 0x00000009
|
||||
PSS = 0x0000000A
|
||||
|
||||
|
||||
class Policy(enum.Enum):
|
||||
|
||||
Reference in New Issue
Block a user