KMIPServer Class
Properties Methods Events Configuration Settings Errors
The KMIPServer class provides server-side functionality for Key Management Interoperability Protocol (KMIP).
Syntax
SecureBlackboxKMIPServer
SecureBlackboxKMIPServerSwift
Remarks
The Key Management Interoperability Protocol (KMIP) is an OASIS standard for communication between different key management servers and clients.
Property List
The following is the full list of the properties of the class with short descriptions. Click on the links for further details.
- active | Indicates if the KMIP server is active and listening to incoming connections. |
- CACertBytes | Returns raw certificate data in DER format. |
- CACertHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
- certRequestBytes | Provides access to raw certificate request data in DER format. |
- certRequestCurve | Specifies the elliptic curve of the EC public key. |
- certRequestHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
- certRequestHashAlgorithm | Specifies the hash algorithm to be used in the operations on the certificate request (such as signing). |
- certRequestKeyAlgorithm | Specifies the public key algorithm of this certificate request. |
- certRequestKeyBits | Returns the length of the public key. |
- certRequestKeyUsage | Indicates the purposes of the key contained in the certificate request, in the form of an OR'ed flag set. |
- certRequestKeyValid | Returns True if the certificate's key is cryptographically valid, and False otherwise. |
- certRequestPrivateKeyBytes | Contains the certificate's private key. |
- certRequestPublicKeyBytes | Contains the public key incorporated in the request, in DER format. |
- certRequestSigAlgorithm | Indicates the algorithm that was used by the requestor to sign this certificate request. |
- certRequestSubject | The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name. |
- certRequestSubjectRDN | A collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate holder (subject). |
- certRequestValid | Indicates whether or not the signature on the request is valid and matches the public key contained in the request. |
- certStorageCount | The number of records in the CertStorage arrays. |
- certStorageBytes:(int)certStorageIndex | Returns raw certificate data in DER format. |
- certStorageHandle:(int)certStorageIndex | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
- encoderType | Specifies the KMIP encoder type. |
- externalCryptoCustomParams | Custom parameters to be passed to the signing service (uninterpreted). |
- externalCryptoData | Additional data to be included in the async state and mirrored back by the requestor. |
- externalCryptoExternalHashCalculation | Specifies whether the message hash is to be calculated at the external endpoint. |
- externalCryptoHashAlgorithm | Specifies the request's signature hash algorithm. |
- externalCryptoKeyID | The ID of the pre-shared key used for DC request authentication. |
- externalCryptoKeySecret | The pre-shared key used for DC request authentication. |
- externalCryptoMethod | Specifies the asynchronous signing method. |
- externalCryptoMode | Specifies the external cryptography mode. |
- externalCryptoPublicKeyAlgorithm | Provide public key algorithm here if the certificate is not available on the pre-signing stage. |
- generatedCertBytes | Returns raw certificate data in DER format. |
- generatedCertHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
- port | A port to listen for connections on. |
- socketIncomingSpeedLimit | The maximum number of bytes to read from the socket, per second. |
- socketLocalAddress | The local network interface to bind the socket to. |
- socketLocalPort | The local port number to bind the socket to. |
- socketOutgoingSpeedLimit | The maximum number of bytes to write to the socket, per second. |
- socketTimeout | The maximum period of waiting, in milliseconds, after which the socket operation is considered unsuccessful. |
- socketUseIPv6 | Enables or disables IP protocol version 6. |
- storageFileName | A path to the KMIP object database. |
- TLSAutoValidateCertificates | Specifies whether server-side TLS certificates should be validated automatically using internal validation rules. |
- TLSBaseConfiguration | Selects the base configuration for the TLS settings. |
- TLSCiphersuites | A list of ciphersuites separated with commas or semicolons. |
- TLSECCurves | Defines the elliptic curves to enable. |
- TLSForceResumeIfDestinationChanges | Whether to force TLS session resumption when the destination address changes. |
- TLSPreSharedIdentity | Defines the identity used when the PSK (Pre-Shared Key) key-exchange mechanism is negotiated. |
- TLSPreSharedKey | Contains the pre-shared for the PSK (Pre-Shared Key) key-exchange mechanism, encoded with base16. |
- TLSPreSharedKeyCiphersuite | Defines the ciphersuite used for PSK (Pre-Shared Key) negotiation. |
- TLSRenegotiationAttackPreventionMode | Selects renegotiation attack prevention mechanism. |
- TLSRevocationCheck | Specifies the kind(s) of revocation check to perform. |
- TLSSSLOptions | Various SSL (TLS) protocol options, set of cssloExpectShutdownMessage 0x001 Wait for the close-notify message when shutting down the connection cssloOpenSSLDTLSWorkaround 0x002 (DEPRECATED) Use a DTLS version workaround when talking to very old OpenSSL versions cssloDisableKexLengthAlignment 0x004 Do not align the client-side PMS by the RSA modulus size. |
- TLSTLSMode | Specifies the TLS mode to use. |
- TLSUseExtendedMasterSecret | Enables Extended Master Secret Extension, as defined in RFC 7627. |
- TLSUseSessionResumption | Enables or disables TLS session resumption capability. |
- TLSVersions | Th SSL/TLS versions to enable by default. |
- userCount | The number of records in the User arrays. |
- userAssociatedData:(int)userIndex | Contains the user's Associated Data when SSH AEAD (Authenticated Encryption with Associated Data) algorithm is used. |
- userBasePath:(int)userIndex | Base path for this user in the server's file system. |
- userCert:(int)userIndex | Contains the user's certificate. |
- userData:(int)userIndex | Contains uninterpreted user-defined data that should be associated with the user account, such as comments or custom settings. |
- userHandle:(int)userIndex | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
- userHashAlgorithm:(int)userIndex | Specifies the hash algorithm used to generate TOTP (Time-based One-Time Passwords) passwords for this user. |
- userIncomingSpeedLimit:(int)userIndex | Specifies the incoming speed limit for this user. |
- userOtpAlgorithm:(int)userIndex | The algorithm used to generate one-time passwords (OTP) for this user, either HOTP (Hash-based OTP) or TOTP (Time-based OTP). |
- userOtpValue:(int)userIndex | The user's time interval (TOTP) or Counter (HOTP). |
- userOutgoingSpeedLimit:(int)userIndex | Specifies the outgoing speed limit for this user. |
- userPassword:(int)userIndex | The user's authentication password. |
- userPasswordLen:(int)userIndex | Specifies the length of the user's OTP password. |
- userSharedSecret:(int)userIndex | Contains the user's secret key, which is essentially a shared secret between the client and server. |
- userSSHKey:(int)userIndex | Contains the user's SSH key. |
- userUsername:(int)userIndex | The registered name (login) of the user. |
Method List
The following is the full list of the methods of the class with short descriptions. Click on the links for further details.
- config | Sets or retrieves a configuration setting. |
- getClientCert | Populates the per-connection certificate object. |
- getClientCertRequest | Populates the per-connection certificate request object. |
- setClientCert | Commits the per-connection certificate object to the connection context. |
- start | Start the KMIP server. |
- stop | Stops the KMIP server. |
Event List
The following is the full list of the events fired by the class with short descriptions. Click on the links for further details.
- onAfterGenerateCert | Signifies completion of certificate generation. |
- onAfterGenerateKey | Signifies completion of key generation. |
- onAuthAttempt | Fires when a connected client makes an authentication attempt. |
- onBeforeGenerateCert | Fires when a certificate generation request is received. |
- onBeforeGenerateKey | Fires when a key generation request is received. |
- onDestroyAction | Fires when an object destruction request is received. |
- onError | Information about any errors that occur during KMIP operations. |
- onExternalSign | Handles remote or external signing initiated by the server protocol. |
- onNotification | This event notifies the application about an underlying control flow event. |
- onRequest | Fires when a request is received from the client. |
Configuration Settings
The following is a list of configuration settings for the class with short descriptions. Click on the links for further details.
AuthBasic | Turns on/off the basic authentication. |
AuthDigest | Turns on/off the digest authentication. |
DualStack | Allows the use of ip4 and ip6 simultaneously. |
MajorProtocolVersion | Major protocol version on the KMIP server. |
MinorProtocolVersion | Minor protocol version on the KMIP server. |
SSLMode | Whether to establish a TLS-secured connection. |
UseChunkedTransfer | Whether to use chunked encoding of the data. |
UseCompression | Whether to use GZip compression. |
CheckKeyIntegrityBeforeUse | Enables or disable private key integrity check before use. |
CookieCaching | Specifies whether a cookie cache should be used for HTTP(S) transports. |
Cookies | Gets or sets local cookies for the class (supported for HTTPClient, RESTClient and SOAPClient only). |
DefDeriveKeyIterations | Specifies the default key derivation algorithm iteration count. |
EnableClientSideSSLFFDHE | Enables or disables finite field DHE key exchange support in TLS clients. |
GlobalCookies | Gets or sets global cookies for all the HTTP transports. |
HttpUserAgent | Specifies the user agent name to be used by all HTTP clients. |
LogDestination | Specifies the debug log destination. |
LogDetails | Specifies the debug log details to dump. |
LogFile | Specifies the debug log filename. |
LogFilters | Specifies the debug log filters. |
LogFlushMode | Specifies the log flush mode. |
LogLevel | Specifies the debug log level. |
LogMaxEventCount | Specifies the maximum number of events to cache before further action is taken. |
LogRotationMode | Specifies the log rotation mode. |
MaxASN1BufferLength | Specifies the maximal allowed length for ASN.1 primitive tag data. |
MaxASN1TreeDepth | Specifies the maximal depth for processed ASN.1 trees. |
OCSPHashAlgorithm | Specifies the hash algorithm to be used to identify certificates in OCSP requests. |
UseOwnDNSResolver | Specifies whether the client classes should use own DNS resolver. |
UseSharedSystemStorages | Specifies whether the validation engine should use a global per-process copy of the system certificate stores. |
UseSystemOAEPAndPSS | Enforces or disables the use of system-driven RSA OAEP and PSS computations. |
UseSystemRandom | Enables or disables the use of the OS PRNG. |