Commit iniziale

This commit is contained in:
Paolo A
2025-02-18 22:59:07 +00:00
commit 4bbf35cefb
6879 changed files with 623784 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
export declare class ColumnEncryptionAzureKeyVaultProvider {
readonly name: string;
private url;
private readonly rsaEncryptionAlgorithmWithOAEPForAKV;
private readonly firstVersion;
private credentials;
private readonly azureKeyVaultDomainName;
private keyClient;
constructor(clientId: string, clientKey: string, tenantId: string);
decryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, encryptedColumnEncryptionKey: Buffer): Promise<Buffer>;
encryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, columnEncryptionKey: Buffer): Promise<Buffer>;
private getMasterKey;
private createKeyClient;
private createCryptoClient;
private parsePath;
private azureKeyVaultSignedHashedData;
private azureKeyVaultWrap;
private azureKeyVaultUnWrap;
private getAKVKeySize;
private validateEncryptionAlgorithm;
}