KeySizeAlgorithm¶
- 
class 
oci.jms.models.KeySizeAlgorithm(**kwargs)¶ Bases:
objectThe algorithm object with name and key size properties.
Attributes
NAME_DHA constant which can be used with the name property of a KeySizeAlgorithm. NAME_DSAA constant which can be used with the name property of a KeySizeAlgorithm. NAME_ECA constant which can be used with the name property of a KeySizeAlgorithm. NAME_RSAA constant which can be used with the name property of a KeySizeAlgorithm. key_sizeGets the key_size of this KeySizeAlgorithm. nameGets the name of this KeySizeAlgorithm. Methods
__init__(**kwargs)Initializes a new KeySizeAlgorithm object with values from keyword arguments. - 
NAME_DH= 'DH'¶ A constant which can be used with the name property of a KeySizeAlgorithm. This constant has a value of “DH”
- 
NAME_DSA= 'DSA'¶ A constant which can be used with the name property of a KeySizeAlgorithm. This constant has a value of “DSA”
- 
NAME_EC= 'EC'¶ A constant which can be used with the name property of a KeySizeAlgorithm. This constant has a value of “EC”
- 
NAME_RSA= 'RSA'¶ A constant which can be used with the name property of a KeySizeAlgorithm. This constant has a value of “RSA”
- 
__init__(**kwargs)¶ Initializes a new KeySizeAlgorithm object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this KeySizeAlgorithm. Allowed values for this property are: “RSA”, “DSA”, “EC”, “DH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
 - key_size (int) – The value to assign to the key_size property of this KeySizeAlgorithm.
 
- 
key_size¶ Gets the key_size of this KeySizeAlgorithm. Key size for the encryption algorithm. Allowed values: 256 for EC, 2048 for DH/DSA/RSA
Returns: The key_size of this KeySizeAlgorithm. Return type: int 
- 
name¶ Gets the name of this KeySizeAlgorithm. The algorithm name.
Allowed values for this property are: “RSA”, “DSA”, “EC”, “DH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The name of this KeySizeAlgorithm. Return type: str 
-