mirror of
https://github.com/OpenKMIP/PyKMIP.git
synced 2025-07-07 22:24:22 +02:00
Code consistency updated
This commit is contained in:
parent
95b54707f7
commit
20f20b0e29
@ -20,7 +20,6 @@ from kmip.core import enums
|
|||||||
from kmip.core import primitives
|
from kmip.core import primitives
|
||||||
from kmip.core import objects as cobjects
|
from kmip.core import objects as cobjects
|
||||||
|
|
||||||
from kmip.core.objects import Attribute
|
|
||||||
from kmip.core.factories import attributes
|
from kmip.core.factories import attributes
|
||||||
|
|
||||||
from kmip.core.attributes import CryptographicParameters
|
from kmip.core.attributes import CryptographicParameters
|
||||||
|
@ -657,8 +657,8 @@ class SymmetricKey(Key):
|
|||||||
'sqlite_autoincrement': True
|
'sqlite_autoincrement': True
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, algorithm, length, value, app_specific_info=None, masks=None,
|
def __init__(self, algorithm, length, value, masks=None,
|
||||||
name='Symmetric Key', key_wrapping_data=None):
|
name='Symmetric Key', key_wrapping_data=None, app_specific_info=None):
|
||||||
"""
|
"""
|
||||||
Create a SymmetricKey.
|
Create a SymmetricKey.
|
||||||
|
|
||||||
@ -824,7 +824,7 @@ class PublicKey(Key):
|
|||||||
|
|
||||||
def __init__(self, algorithm, length, value,
|
def __init__(self, algorithm, length, value,
|
||||||
format_type=enums.KeyFormatType.X_509, masks=None,
|
format_type=enums.KeyFormatType.X_509, masks=None,
|
||||||
name='Public Key', app_specific_info = None, key_wrapping_data=None):
|
name='Public Key', key_wrapping_data=None, app_specific_info=None):
|
||||||
"""
|
"""
|
||||||
Create a PublicKey.
|
Create a PublicKey.
|
||||||
|
|
||||||
@ -992,7 +992,7 @@ class PrivateKey(Key):
|
|||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, algorithm, length, value, format_type, masks=None,
|
def __init__(self, algorithm, length, value, format_type, masks=None,
|
||||||
name='Private Key', app_specific_info = None, key_wrapping_data=None):
|
name='Private Key', key_wrapping_data=None, app_specific_info=None):
|
||||||
"""
|
"""
|
||||||
Create a PrivateKey.
|
Create a PrivateKey.
|
||||||
|
|
||||||
@ -1589,7 +1589,7 @@ class SecretData(CryptographicObject):
|
|||||||
'sqlite_autoincrement': True
|
'sqlite_autoincrement': True
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, value, data_type, app_specific_info=None, masks=None, name='Secret Data'):
|
def __init__(self, value, data_type, masks=None, name='Secret Data', app_specific_info=None):
|
||||||
"""
|
"""
|
||||||
Create a SecretData object.
|
Create a SecretData object.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user