sdkms.v1.models.fpe_constraints 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_constraints.FpeConstraints(luhn_check=None, num_gt=None, num_lt=None, num_ne=None, date=None, applies_to=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__(luhn_check=None, num_gt=None, num_lt=None, num_ne=None, date=None, applies_to=None)[source]
FpeConstraints - a model defined in Swagger
- property applies_to
Gets the applies_to of this FpeConstraints. The subparts to apply the constraints to. If not specified, the constraints will be applied to all subparts (recursively). (This can also be explictly indicated by specifying the string “all”). If only certain subparts are to be specified, then they should be specified as an FpeConstraintsApplicabilitySubparts object.
Type: object
- Setter:
Sets the applies_to of this FpeConstraints.
- property date
Gets the date of this FpeConstraints. Specifies that this portion is supposed to represent a date, or part of one. If used, no other constraints can be specified on this part. This field should either be an FpeDate object or an FpeDatePart value.
Type: object
- Setter:
Sets the date of this FpeConstraints.
- property luhn_check
Gets the luhn_check of this FpeConstraints. Whether the token should satisfy the Luhn checksum. It is an error to apply this constraint to non-numeric parts, or for an encrypted part to be under more than one Luhn check constraint. Also, if an encrypted part has a Luhn check constraint applied to it and may contain at least one digit that is not preserved, it must not specify any other constraints.
Type: bool
- Setter:
Sets the luhn_check of this FpeConstraints.
- property num_gt
Gets the num_gt of this FpeConstraints. Number that the token part should be greater than. This constraint can only be specified on (non-compound) numeric encrypted parts that are guaranteed to preserve either everything or nothing at all.
Type: int
- Setter:
Sets the num_gt of this FpeConstraints.
- property num_lt
Gets the num_lt of this FpeConstraints. Number that the token part should be smaller than. This constraint can only be specified on (non-compound) numeric encrypted parts that are guaranteed to preserve either everything or nothing at all.
Type: int
- Setter:
Sets the num_lt of this FpeConstraints.
- property num_ne
Gets the num_ne of this FpeConstraints. Numbers that the token part should not be equal to. It is an error to apply this constraint to non-numeric parts.
Type: list[int]
- Setter:
Sets the num_ne of this FpeConstraints.