sdkms.v1.models.bls_variant 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.bls_variant.BlsVariant(name)[source]
Bases:
BaseEnumObjectThe BLS variant. It is a trade-off between signature size, and public key size.
Enumeration values:
BlsVariant.SIGNATURES = "small_signatures" BlsVariant.PUBLIC_KEYS = "small_public_keys"
This class doesnt use python standard enumeration since they dont support unknown values.
This is an object of type BaseEnumObject and provides similar functionality as a String Enumeration:
Get a standard instance of enum: BlsVariant.FOO or BlsVariant("FOO") Get non standard instance of enum: BlsVariant("BAR") Enum instance to String value: BlsVariant.FOO.value , BlsVariant.FOO.name (Gives "FOO") Equality: BlsVariant.FOO == BlsVariant("FOO") , BlsVariant.FOO != BlsVariant.BAR Provides str func: str(BlsVariant.FOO) == "BlsVariant.FOO"
Also the class maintains a static dict of values. hence BlsVariant.FOO and BlsVariant(“FOO”) are really backed by same data.
- PUBLIC_KEYS = <sdkms.v1.models.bls_variant.BlsVariant.__BlsVariant object>
dictionary that keeps the enum value mapping for static access
- SIGNATURES = <sdkms.v1.models.bls_variant.BlsVariant.__BlsVariant object>
- property name
- property value