KMIPClient Class
Properties Methods Events Configuration Settings Errors
The KMIPClient class provides client-side functionality for KMIP.
Syntax
secureblackbox.kmipclient()
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.
DataFile | A path to the file containing the unsigned data. |
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. |
Host | Specifies the host name of the KMIP server. |
InputFile | Path to the file containing data to be signed, verified, encrypted or decrypted. |
ObjectCount | The number of records in the Object arrays. |
ObjectID | Contains the value currently stored in the ID Placeholder. |
ObjectKeyAlgorithm | The cryptographic algorithm for this object. |
ObjectKeyLength | The length of the cryptographic key. |
ObjectObjectType | The type of this object. |
ObjectSigAlgorithm | Digital signature algorithm for this object (only for certificates). |
ObjectUniqueIdentifier | The unique identifier of the object generated by the key management system. |
OutputFile | Specifies the file where the signed, encrypted, or decrypted data should be saved. |
Password | Specifies a password to authenticate to the KMIP server. |
PinnedCertBytes | Returns raw certificate data in DER format. |
PinnedCertHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
PinnedCertRequestBytes | Provides access to raw certificate request data in DER format. |
PinnedCertRequestHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
Port | Specifies the port on the KMIP server to connect to. |
ProxyAddress | The IP address of the proxy server. |
ProxyAuthentication | The authentication type used by the proxy server. |
ProxyPassword | The password to authenticate to the proxy server. |
ProxyPort | The port on the proxy server to connect to. |
ProxyProxyType | The type of the proxy server. |
ProxyRequestHeaders | Contains HTTP request headers for WebTunnel and HTTP proxy. |
ProxyResponseBody | Contains the HTTP or HTTPS (WebTunnel) proxy response body. |
ProxyResponseHeaders | Contains response headers received from an HTTP or HTTPS (WebTunnel) proxy server. |
ProxyUseIPv6 | Specifies whether IPv6 should be used when connecting through the proxy. |
ProxyUseProxy | Enables or disables proxy-driven connection. |
ProxyUsername | Specifies the username credential for proxy authentication. |
SignatureValidationResult | The signature validation result. |
SocketDNSMode | Selects the DNS resolver to use: the class's (secure) built-in one, or the one provided by the system. |
SocketDNSPort | Specifies the port number to be used for sending queries to the DNS server. |
SocketDNSQueryTimeout | The timeout (in milliseconds) for each DNS query. |
SocketDNSServers | The addresses of DNS servers to use for address resolution, separated by commas or semicolons. |
SocketDNSTotalTimeout | The timeout (in milliseconds) for the whole resolution process. |
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. |
TLSClientCertCount | The number of records in the TLSClientCert arrays. |
TLSClientCertBytes | Returns raw certificate data in DER format. |
TLSClientCertHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
TLSServerCertCount | The number of records in the TLSServerCert arrays. |
TLSServerCertBytes | Returns raw certificate data in DER format. |
TLSServerCertHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
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. |
Username | The username to authenticate to the KMIP server. |
Method List
The following is the full list of the methods of the class with short descriptions. Click on the links for further details.
AddCertificate | Imports a certificate to the KMIP server. |
AddKey | Imports a key to the KMIP server. |
AddPinned | Imports a certificate to the KMIP server. |
Config | Sets or retrieves a configuration setting. |
Decrypt | Decrypts the provided data using a key stored on the KMIP server. |
Encrypt | Encrypts the provided data using a key stored on the KMIP server. |
GenerateCert | Generates a new certificate on the KMIP server. |
GenerateCertFromPinned | Generates a new certificate on the KMIP server from the pinned certificate. |
GenerateCertFromRequest | Generates a new certificate on the KMIP server from the certificate request. |
GenerateKey | Generates a symmetric key or an asymmetric key pair on the KMIP server. |
GetList | Retrieves the list of objects of a given type. |
Remove | Removes the specified object from the server. |
Sign | Signs the data using a key on the KMIP server. |
Verify | Verifies digitally signed data. |
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.
Error | Provides information about errors during KMIP operations. |
ExternalSign | Handles remote or external signing initiated by the SignExternal method or other source. |
Notification | This event notifies the application about an underlying control flow event. |
TLSCertValidate | This event is fired upon receipt of the TLS server's certificate, allowing the user to control its acceptance. |
Configuration Settings
The following is a list of configuration settings for the class with short descriptions. Click on the links for further details.
BlockCipherMode | Block cipher mode to use for encrypting or decrypting. |
BlockSize | Block size of data for encrypting, decrypting or signing. |
Curve | Name of the curve of the newly added elliptic cryptography (EC) key. |
HashAlgorithm | Hash algorithm to use for signing or verifying. |
IVCounterNonce | Initialization vector, counter or nonce for encrypting or decrypting. |
MajorProtocolVersion | Major protocol version of the KMIP server. |
MaximumItems | The maximum number of items to be returned on getting the object list. |
MinorProtocolVersion | Minor protocol version of the KMIP server. |
OffsetItems | The number of items to skip on getting the object list. |
PaddingMethod | Padding method to use for encrypting or decrypting. |
RandomIV | Whether to generate the initialization vector automatically. |
TagLength | Tag length to use for encrypting or decrypting. |
TempPath | Path for storing temporary files. |
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. |