@nebius/js-sdk - v0.2.54
    Preparing search index...

    Interface SymmetricCryptoServiceServer

    Handles server calls for the nebius.kms.v1.SymmetricCryptoService service.

    interface SymmetricCryptoServiceServer {
        decrypt: handleUnaryCall<
            SymmetricDecryptRequest,
            SymmetricDecryptResponse,
        >;
        encrypt: handleUnaryCall<SymmetricEncryptRequest, SymmetricEncryptResponse>;
        generateDataKey: handleUnaryCall<
            GenerateDataKeyRequest,
            GenerateDataKeyResponse,
        >;
        [name: string]: UntypedHandleCall;
    }

    Hierarchy

    • UntypedServiceImplementation
      • SymmetricCryptoServiceServer

    Indexable

    • [name: string]: UntypedHandleCall

      Handles server calls for the nebius.kms.v1.SymmetricCryptoService service.

    Index

    Decrypts the given ciphertext with the specified key.

    Encrypts given plaintext with the specified key.

    generateDataKey: handleUnaryCall<
        GenerateDataKeyRequest,
        GenerateDataKeyResponse,
    >

    Generates a new symmetric data encryption key (not a KMS key) and returns the generated key as plaintext and as ciphertext encrypted with the specified symmetric KMS key.