sdkms.v1.models.fpe_encrypted_part module
Fortanix DSM REST API
This is a set of REST APIs for accessing the Fortanix Data Security Manager. This includes APIs for managing accounts, and for performing cryptographic and key management operations.
OpenAPI spec version: 1.0.0-20200608 Contact: support@fortanix.com Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
- class sdkms.v1.models.fpe_encrypted_part.FpeEncryptedPart(min_length=None, max_length=None, char_set=None, constraints=None, preserve=None, mask=None)[source]
Bases:
object- swagger_types
The key is attribute name and the value is attribute type.
- Type:
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type:
dict
- __init__(min_length=None, max_length=None, char_set=None, constraints=None, preserve=None, mask=None)[source]
FpeEncryptedPart - a model defined in Swagger
- property char_set
Gets the char_set of this FpeEncryptedPart. The character set to use for this part. Characters should be specified as a list of pairs, where each pair [a, b] (example: [‘0’, ‘9’]) represents the range of Unicode codepoints from a to b, with both bounds being inclusive. A single character can be represented as [c, c] (example: [‘/’, ‘/’]). Ranges should not overlap with each other, and should not contain surrogate codepoints. Implementation note: normally, each character is assigned a numeric value for FF1, going in the order specified in the array. For instance, in the character set [[‘a’, ‘z’], [‘0’, ‘9’]], the digits from 0 to 9 DO NOT have their usual numeric values; instead, they correspond to the numerals from 26 to 35 (since they come after the ‘a’ to ‘z’ range). Note that for practical purposes, this is largely irrelevant, except when specifying a “numeric” character set, which MUST contain exactly the digits from 0 to 9, in order. **(When trying to use numeric constraints, it is best to use [[“0”, “9”]] as the character set.)**
Type: list[list[str]]
- Setter:
Sets the char_set of this FpeEncryptedPart.
- property constraints
Gets the constraints of this FpeEncryptedPart.
Type: FpeConstraints
- Setter:
Sets the constraints of this FpeEncryptedPart.
- property mask
Gets the mask of this FpeEncryptedPart. The characters to be masked while performing masked decryption. This should either be the string “all”, or it should be an array of Python-like indices (i.e., where negative indices index from the back of the token portion, with -1 referring to the end of the array). When specifying indices, it is an error to specify indices greater than (min_length - 1) or less than (-min_length).
Type: object
- Setter:
Sets the mask of this FpeEncryptedPart.
- property max_length
Gets the max_length of this FpeEncryptedPart. The maximum allowed length for this part (in chars).
Type: int
- Setter:
Sets the max_length of this FpeEncryptedPart.
- property min_length
Gets the min_length of this FpeEncryptedPart. The minimum allowed length for this part (in chars).
Type: int
- Setter:
Sets the min_length of this FpeEncryptedPart.
- property preserve
Gets the preserve of this FpeEncryptedPart. The characters to be preserved while encrypting or decrypting. This should either be the string “all”, or it should be an array of Python-like indices (i.e., where negative indices index from the back of the token portion, with -1 referring to the end of the array). When specifying indices, it is an error to specify indices greater than (min_length - 1) or less than (-min_length).
Type: list[int]
- Setter:
Sets the preserve of this FpeEncryptedPart.