class documentation

class AsymmetricCryptoServiceClient(client.Client): (source)

Constructor: AsymmetricCryptoServiceClient(channel)

View In Hierarchy

Data plane for KMS asymmetric cryptography operations.

This class provides the client methods for the .nebius.kms.v1.AsymmetricCryptoService service.

Each method constructs a nebius.aio.request.Request object that represents the in-flight RPC. The request can be awaited (async) or waited synchronously using its .wait() helpers.

The request methods accept various parameters to configure metadata, timeouts, authorization, and retries. See individual method docstrings for details.

Method decrypt Decrypts the ciphertext with the specified key.
Method get_public_key Retrieves the public key of an asymmetric key pair.
Method sign_hash Signs a hashed value using an asymmetric key.
Constant __PB2_DESCRIPTOR__ The protobuf service descriptor extraction function.
Class Variable __service_name__ The full protobuf service name.

Inherited from Client:

Method __init__ Create a client bound to a channel.
Method request Construct a nebius.aio.request.Request for an RPC.
Class Variable __service_deprecation_details__ optional deprecation message emitted as a runtime warning when the client is constructed.
Instance Variable _channel Undocumented

Decrypts the ciphertext with the specified key.

Other parameters can be provided as keyword arguments in the **kwargs dictionary, including metadata, timeouts, and retries. See nebius.aio.request_kwargs.RequestKwargs for details.

Parameters
request:nebius.api.nebius.kms.v1.AsymmetricDecryptRequestThe request object to send.
**kwargs:typing_extensions.Unpack[request_kwargs.RequestKwargs]Undocumented
Returns
nebius.aio.request.Request of nebius.api.nebius.kms.v1.AsymmetricDecryptResponse.A nebius.aio.request.Request object representing the in-flight RPC. It can be awaited (async) or waited synchronously using its .wait() helpers.

Retrieves the public key of an asymmetric key pair.

Other parameters can be provided as keyword arguments in the **kwargs dictionary, including metadata, timeouts, and retries. See nebius.aio.request_kwargs.RequestKwargs for details.

Parameters
request:nebius.api.nebius.kms.v1.AsymmetricGetPublicKeyRequestThe request object to send.
**kwargs:typing_extensions.Unpack[request_kwargs.RequestKwargs]Undocumented
Returns
nebius.aio.request.Request of nebius.api.nebius.kms.v1.AsymmetricGetPublicKeyResponse.A nebius.aio.request.Request object representing the in-flight RPC. It can be awaited (async) or waited synchronously using its .wait() helpers.

Signs a hashed value using an asymmetric key.

Other parameters can be provided as keyword arguments in the **kwargs dictionary, including metadata, timeouts, and retries. See nebius.aio.request_kwargs.RequestKwargs for details.

Parameters
request:nebius.api.nebius.kms.v1.AsymmetricSignHashRequestThe request object to send.
**kwargs:typing_extensions.Unpack[request_kwargs.RequestKwargs]Undocumented
Returns
nebius.aio.request.Request of nebius.api.nebius.kms.v1.AsymmetricSignHashResponse.A nebius.aio.request.Request object representing the in-flight RPC. It can be awaited (async) or waited synchronously using its .wait() helpers.
__PB2_DESCRIPTOR__ = (source)

The protobuf service descriptor extraction function.

Value
descriptor.DescriptorWrap[descriptor_1.ServiceDescriptor]('.nebius.kms.v1.Asymme
tricCryptoService',
                                                          asymmetric_crypto_service_pb2.DESCRIPTOR
,
                                                          descriptor_1.ServiceDescriptor
)
__service_name__: str = (source)

The full protobuf service name.