@aws-crypto/material-management-node
Advanced tools
Comparing version 3.0.3 to 3.1.0
export * from './node_cryptographic_materials_manager'; | ||
export { getEncryptHelper, getDecryptionHelper, GetSigner, GetVerify, GetCipher, GetDecipher, AwsEsdkJsCipherGCM, AwsEsdkJsDecipherGCM, } from './material_helpers'; | ||
export { NodeDecryptionMaterial, NodeEncryptionMaterial, NodeAlgorithmSuite, AlgorithmSuiteIdentifier, EncryptionContext, EncryptedDataKey, KeyringTrace, KeyringTraceFlag, needs, KeyringNode, MultiKeyringNode, immutableBaseClass, immutableClass, frozenClass, readOnlyProperty, NodeMaterialsManager, unwrapDataKey, AwsEsdkKeyObject, CommitmentPolicy, CommitmentPolicySuites, SignaturePolicySuites, SignaturePolicy, MessageFormat, ClientOptions, Newable, } from '@aws-crypto/material-management'; | ||
export { NodeDecryptionMaterial, NodeEncryptionMaterial, NodeAlgorithmSuite, AlgorithmSuiteIdentifier, EncryptionContext, EncryptedDataKey, KeyringTrace, KeyringTraceFlag, needs, NotSupported, KeyringNode, MultiKeyringNode, immutableBaseClass, immutableClass, frozenClass, readOnlyProperty, NodeMaterialsManager, unwrapDataKey, AwsEsdkKeyObject, CommitmentPolicy, CommitmentPolicySuites, SignaturePolicySuites, SignaturePolicy, MessageFormat, ClientOptions, Newable, } from '@aws-crypto/material-management'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -15,3 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MessageFormat = exports.SignaturePolicy = exports.SignaturePolicySuites = exports.CommitmentPolicySuites = exports.CommitmentPolicy = exports.unwrapDataKey = exports.readOnlyProperty = exports.frozenClass = exports.immutableClass = exports.immutableBaseClass = exports.MultiKeyringNode = exports.KeyringNode = exports.needs = exports.KeyringTraceFlag = exports.EncryptedDataKey = exports.AlgorithmSuiteIdentifier = exports.NodeAlgorithmSuite = exports.NodeEncryptionMaterial = exports.NodeDecryptionMaterial = exports.getDecryptionHelper = exports.getEncryptHelper = void 0; | ||
exports.MessageFormat = exports.SignaturePolicy = exports.SignaturePolicySuites = exports.CommitmentPolicySuites = exports.CommitmentPolicy = exports.unwrapDataKey = exports.readOnlyProperty = exports.frozenClass = exports.immutableClass = exports.immutableBaseClass = exports.MultiKeyringNode = exports.KeyringNode = exports.NotSupported = exports.needs = exports.KeyringTraceFlag = exports.EncryptedDataKey = exports.AlgorithmSuiteIdentifier = exports.NodeAlgorithmSuite = exports.NodeEncryptionMaterial = exports.NodeDecryptionMaterial = exports.getDecryptionHelper = exports.getEncryptHelper = void 0; | ||
__exportStar(require("./node_cryptographic_materials_manager"), exports); | ||
@@ -29,2 +29,3 @@ var material_helpers_1 = require("./material_helpers"); | ||
Object.defineProperty(exports, "needs", { enumerable: true, get: function () { return material_management_1.needs; } }); | ||
Object.defineProperty(exports, "NotSupported", { enumerable: true, get: function () { return material_management_1.NotSupported; } }); | ||
Object.defineProperty(exports, "KeyringNode", { enumerable: true, get: function () { return material_management_1.KeyringNode; } }); | ||
@@ -42,2 +43,2 @@ Object.defineProperty(exports, "MultiKeyringNode", { enumerable: true, get: function () { return material_management_1.MultiKeyringNode; } }); | ||
Object.defineProperty(exports, "MessageFormat", { enumerable: true, get: function () { return material_management_1.MessageFormat; } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7Ozs7Ozs7Ozs7Ozs7QUFFdEMseUVBQXNEO0FBQ3RELHVEQVMyQjtBQVJ6QixvSEFBQSxnQkFBZ0IsT0FBQTtBQUNoQix1SEFBQSxtQkFBbUIsT0FBQTtBQVFyQix1RUEwQndDO0FBekJ0Qyw2SEFBQSxzQkFBc0IsT0FBQTtBQUN0Qiw2SEFBQSxzQkFBc0IsT0F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EFBQSxnQkFBZ0IsT0FBQTtBQUNoQiw0R0FBQSxLQUFLLE9BQUE7QUFDTCxtSEFBQSxZQUFZLE9BQUE7QUFDWixrSEFBQSxXQUFXLE9BQUE7QUFDWCx1SEFBQSxnQkFBZ0IsT0FBQTtBQUNoQix5SEFBQSxrQkFBa0IsT0FBQTtBQUNsQixxSEFBQSxjQUFjLE9BQUE7QUFDZCxrSEFBQSxXQUFXLE9BQUE7QUFDWCx1SEFBQSxnQkFBZ0IsT0FBQTtBQUVoQixvSEFBQSxhQUFhLE9BQUE7QUFFYix1SEFBQSxnQkFBZ0IsT0FBQTtBQUNoQiw2SEFBQSxzQkFBc0IsT0FBQTtBQUN0Qiw0SEFBQSxxQkFBcUIsT0FBQTtBQUNyQixzSEFBQSxlQUFlLE9BQUE7QUFDZixvSEFBQSxhQUFhLE9BQUEifQ== |
/// <reference types="node" /> | ||
import { NodeEncryptionMaterial, NodeDecryptionMaterial, AwsEsdkKeyObject } from '@aws-crypto/material-management'; | ||
import { Signer, Verify, createCipheriv, createDecipheriv } from 'crypto'; | ||
import { createCipheriv, createDecipheriv } from 'crypto'; | ||
import { AwsESDKSigner, AwsESDKVerify } from './types'; | ||
export interface AwsEsdkJsCipherGCM { | ||
@@ -26,3 +27,3 @@ update(data: Buffer): Buffer; | ||
export interface GetSigner { | ||
(): Signer & { | ||
(): AwsESDKSigner & { | ||
awsCryptoSign: () => Buffer; | ||
@@ -47,3 +48,3 @@ }; | ||
export interface GetVerify { | ||
(): Verify & { | ||
(): AwsESDKVerify & { | ||
awsCryptoVerify: (signature: Buffer) => boolean; | ||
@@ -50,0 +51,0 @@ }; |
@@ -11,9 +11,9 @@ "use strict"; | ||
const kdfIndex = Object.freeze({ | ||
sha256: hkdf_node_1.HKDF('sha256'), | ||
sha384: hkdf_node_1.HKDF('sha384'), | ||
sha512: hkdf_node_1.HKDF('sha512'), | ||
sha256: (0, hkdf_node_1.HKDF)('sha256'), | ||
sha384: (0, hkdf_node_1.HKDF)('sha384'), | ||
sha512: (0, hkdf_node_1.HKDF)('sha512'), | ||
}); | ||
const getEncryptHelper = (material) => { | ||
/* Precondition: NodeEncryptionMaterial must have a valid data key. */ | ||
material_management_1.needs(material.hasValidKey(), 'Material has no unencrypted data key.'); | ||
(0, material_management_1.needs)(material.hasValidKey(), 'Material has no unencrypted data key.'); | ||
const { signatureHash } = material.suite; | ||
@@ -38,3 +38,3 @@ /* Conditional types can not narrow the return type :( | ||
*/ | ||
material_management_1.needs(material.hasUnencryptedDataKey, 'Unencrypted data key has been zeroed.'); | ||
(0, material_management_1.needs)(material.hasUnencryptedDataKey, 'Unencrypted data key has been zeroed.'); | ||
if (!signatureHash) | ||
@@ -48,3 +48,3 @@ throw new Error('Material does not support signature.'); | ||
throw new Error('Material does not support signature.'); | ||
const signer = Object.assign(crypto_1.createSign(signatureHash), | ||
const signer = Object.assign((0, crypto_1.createSign)(signatureHash), | ||
// don't export the private key if we don't have to | ||
@@ -61,3 +61,3 @@ { awsCryptoSign: () => signer.sign(privateKey) }); | ||
/* Precondition: NodeDecryptionMaterial must have a valid data key. */ | ||
material_management_1.needs(material.hasValidKey(), 'Material has no unencrypted data key.'); | ||
(0, material_management_1.needs)(material.hasValidKey(), 'Material has no unencrypted data key.'); | ||
const { signatureHash } = material.suite; | ||
@@ -80,3 +80,3 @@ /* Conditional types can not narrow the return type :( | ||
throw new Error('Material does not support signature.'); | ||
const verify = Object.assign(crypto_1.createVerify(signatureHash), | ||
const verify = Object.assign((0, crypto_1.createVerify)(signatureHash), | ||
// explicitly bind the public key for this material | ||
@@ -103,3 +103,3 @@ { | ||
*/ | ||
material_management_1.needs(isEncrypt | ||
(0, material_management_1.needs)(isEncrypt | ||
? crypto_1.createCipheriv === createCryptoIvStream | ||
@@ -116,3 +116,3 @@ : material instanceof material_management_1.NodeDecryptionMaterial | ||
/* Precondition: The length of the IV must match the NodeAlgorithmSuite specification. */ | ||
material_management_1.needs(iv.byteLength === ivLength, 'Iv length does not match algorithm suite specification'); | ||
(0, material_management_1.needs)(iv.byteLength === ivLength, 'Iv length does not match algorithm suite specification'); | ||
/* Precondition: The material must have not been zeroed. | ||
@@ -125,3 +125,3 @@ * hasUnencryptedDataKey will check that the unencrypted data key has been set | ||
*/ | ||
material_management_1.needs(material.hasUnencryptedDataKey, 'Unencrypted data key has been zeroed.'); | ||
(0, material_management_1.needs)(material.hasUnencryptedDataKey, 'Unencrypted data key has been zeroed.'); | ||
/* createDecipheriv is incorrectly typed in @types/node. It should take key: CipherKey, not key: BinaryLike. | ||
@@ -147,7 +147,7 @@ * Also, the check above ensures | ||
/* Postcondition: Non-KDF algorithm suites *must* not have a commitment. */ | ||
material_management_1.needs(!commitKey, 'Commitment not supported.'); | ||
(0, material_management_1.needs)(!commitKey, 'Commitment not supported.'); | ||
return { derivedKey: dataKey }; | ||
} | ||
/* Precondition: Valid HKDF values must exist for Node.js. */ | ||
material_management_1.needs(kdf === 'HKDF' && | ||
(0, material_management_1.needs)(kdf === 'HKDF' && | ||
kdfHash && | ||
@@ -160,22 +160,22 @@ kdfIndex[kdfHash] && | ||
*/ | ||
const { buffer: dkBuffer, byteOffset: dkByteOffset, byteLength: dkByteLength, } = material_management_1.unwrapDataKey(dataKey); | ||
const { buffer: dkBuffer, byteOffset: dkByteOffset, byteLength: dkByteLength, } = (0, material_management_1.unwrapDataKey)(dataKey); | ||
if (commitment === 'NONE') { | ||
/* Postcondition: Non-committing Node algorithm suites *must* not have a commitment. */ | ||
material_management_1.needs(!commitKey, 'Commitment not supported.'); | ||
(0, material_management_1.needs)(!commitKey, 'Commitment not supported.'); | ||
const toExtract = Buffer.from(dkBuffer, dkByteOffset, dkByteLength); | ||
const { buffer, byteOffset, byteLength } = serialize_1.kdfInfo(suiteId, nonce); | ||
const { buffer, byteOffset, byteLength } = (0, serialize_1.kdfInfo)(suiteId, nonce); | ||
const infoBuff = Buffer.from(buffer, byteOffset, byteLength); | ||
const derivedBytes = kdfIndex[kdfHash](toExtract)(keyLengthBytes, infoBuff); | ||
const derivedKey = material_management_1.wrapWithKeyObjectIfSupported(derivedBytes); | ||
const derivedKey = (0, material_management_1.wrapWithKeyObjectIfSupported)(derivedBytes); | ||
return { derivedKey }; | ||
} | ||
/* Precondition UNTESTED: Committing suites must define expected values. */ | ||
material_management_1.needs(commitment === 'KEY' && commitmentLength && saltLengthBytes, 'Malformed suite data.'); | ||
(0, material_management_1.needs)(commitment === 'KEY' && commitmentLength && saltLengthBytes, 'Malformed suite data.'); | ||
/* Precondition: For committing algorithms, the nonce *must* be 256 bit. | ||
* i.e. It must target a V2 message format. | ||
*/ | ||
material_management_1.needs(nonce.byteLength === saltLengthBytes, 'Nonce is not the correct length for committed algorithm suite.'); | ||
(0, material_management_1.needs)(nonce.byteLength === saltLengthBytes, 'Nonce is not the correct length for committed algorithm suite.'); | ||
const toExtract = Buffer.from(dkBuffer, dkByteOffset, dkByteLength); | ||
const expand = kdfIndex[kdfHash](toExtract, nonce); | ||
const { keyLabel, commitLabel } = serialize_1.kdfCommitKeyInfo(material.suite); | ||
const { keyLabel, commitLabel } = (0, serialize_1.kdfCommitKeyInfo)(material.suite); | ||
const keyCommitment = expand(commitmentLength / 8, commitLabel); | ||
@@ -187,9 +187,9 @@ const isDecrypt = material instanceof material_management_1.NodeDecryptionMaterial; | ||
*/ | ||
material_management_1.needs((isDecrypt && commitKey && crypto_1.timingSafeEqual(keyCommitment, commitKey)) || | ||
(0, material_management_1.needs)((isDecrypt && commitKey && (0, crypto_1.timingSafeEqual)(keyCommitment, commitKey)) || | ||
(!isDecrypt && !commitKey), isDecrypt ? 'Commitment does not match.' : 'Invalid arguments.'); | ||
const derivedBytes = expand(keyLengthBytes, keyLabel); | ||
const derivedKey = material_management_1.wrapWithKeyObjectIfSupported(derivedBytes); | ||
const derivedKey = (0, material_management_1.wrapWithKeyObjectIfSupported)(derivedBytes); | ||
return { derivedKey, keyCommitment }; | ||
} | ||
exports.nodeKdf = nodeKdf; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2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RUFBRSxXQUFXLENBQUMsQ0FBQTtJQUUvRCxNQUFNLFNBQVMsR0FBRyxRQUFRLFlBQVksNENBQXNCLENBQUE7SUFDNUQ7OztPQUdHO0lBQ0gsSUFBQSwyQkFBSyxFQUNILENBQUMsU0FBUyxJQUFJLFNBQVMsSUFBSSxJQUFBLHdCQUFlLEVBQUMsYUFBYSxFQUFFLFNBQVMsQ0FBQyxDQUFDO1FBQ25FLENBQUMsQ0FBQyxTQUFTLElBQUksQ0FBQyxTQUFTLENBQUMsRUFDNUIsU0FBUyxDQUFDLENBQUMsQ0FBQyw0QkFBNEIsQ0FBQyxDQUFDLENBQUMsb0JBQW9CLENBQ2hFLENBQUE7SUFFRCxNQUFNLFlBQVksR0FBRyxNQUFNLENBQUMsY0FBYyxFQUFFLFFBQVEsQ0FBQyxDQUFBO0lBQ3JELE1BQU0sVUFBVSxHQUFHLElBQUEsa0RBQTRCLEVBQUMsWUFBWSxDQUFDLENBQUE7SUFDN0QsT0FBTyxFQUFFLFVBQVUsRUFBRSxhQUFhLEVBQUUsQ0FBQTtBQUN0QyxDQUFDO0FBL0ZELDBCQStGQyJ9 |
@@ -17,4 +17,4 @@ "use strict"; | ||
/* Precondition: keyrings must be a KeyringNode. */ | ||
material_management_1.needs(keyring instanceof material_management_1.KeyringNode, 'Unsupported type.'); | ||
material_management_1.readOnlyProperty(this, 'keyring', keyring); | ||
(0, material_management_1.needs)(keyring instanceof material_management_1.KeyringNode, 'Unsupported type.'); | ||
(0, material_management_1.readOnlyProperty)(this, 'keyring', keyring); | ||
} | ||
@@ -31,3 +31,3 @@ async getEncryptionMaterials({ suite, encryptionContext, commitmentPolicy, }) { | ||
*/ | ||
material_management_1.needs(!Object.prototype.hasOwnProperty.call(encryptionContext, serialize_1.ENCODED_SIGNER_KEY), `Reserved encryptionContext value ${serialize_1.ENCODED_SIGNER_KEY} not allowed.`); | ||
(0, material_management_1.needs)(!Object.prototype.hasOwnProperty.call(encryptionContext, serialize_1.ENCODED_SIGNER_KEY), `Reserved encryptionContext value ${serialize_1.ENCODED_SIGNER_KEY} not allowed.`); | ||
const material = await this.keyring.onEncrypt(this._initializeEncryptionMaterial(suite, encryptionContext)); | ||
@@ -39,5 +39,5 @@ /* Postcondition: The NodeEncryptionMaterial must contain a valid dataKey. | ||
*/ | ||
material_management_1.needs(material.getUnencryptedDataKey(), 'Unencrypted data key is invalid.'); | ||
(0, material_management_1.needs)(material.getUnencryptedDataKey(), 'Unencrypted data key is invalid.'); | ||
/* Postcondition: The NodeEncryptionMaterial must contain at least 1 EncryptedDataKey. */ | ||
material_management_1.needs(material.encryptedDataKeys.length, 'No EncryptedDataKeys: the ciphertext can never be decrypted.'); | ||
(0, material_management_1.needs)(material.encryptedDataKeys.length, 'No EncryptedDataKeys: the ciphertext can never be decrypted.'); | ||
return material; | ||
@@ -53,3 +53,3 @@ } | ||
*/ | ||
material_management_1.needs(material.getUnencryptedDataKey(), 'Unencrypted data key is invalid.'); | ||
(0, material_management_1.needs)(material.getUnencryptedDataKey(), 'Unencrypted data key is invalid.'); | ||
return material; | ||
@@ -62,3 +62,3 @@ } | ||
return new material_management_1.NodeEncryptionMaterial(suite, encryptionContext); | ||
const ecdh = crypto_1.createECDH(namedCurve); | ||
const ecdh = (0, crypto_1.createECDH)(namedCurve); | ||
ecdh.generateKeys(); | ||
@@ -78,3 +78,3 @@ // @ts-ignore I want a compressed buffer. | ||
/* Precondition: NodeDefaultCryptographicMaterialsManager The context must not contain a public key for a non-signing algorithm suite. */ | ||
material_management_1.needs(!Object.prototype.hasOwnProperty.call(encryptionContext, serialize_1.ENCODED_SIGNER_KEY), 'Encryption context contains public verification key for unsigned algorithm suite.'); | ||
(0, material_management_1.needs)(!Object.prototype.hasOwnProperty.call(encryptionContext, serialize_1.ENCODED_SIGNER_KEY), 'Encryption context contains public verification key for unsigned algorithm suite.'); | ||
/* Check for early return (Postcondition): The algorithm suite specification must support a signatureCurve to load a signature key. */ | ||
@@ -88,3 +88,3 @@ return new material_management_1.NodeDecryptionMaterial(suite, encryptionContext); | ||
/* Precondition: NodeDefaultCryptographicMaterialsManager The context must contain the public key. */ | ||
material_management_1.needs(compressPoint, 'Context does not contain required public key.'); | ||
(0, material_management_1.needs)(compressPoint, 'Context does not contain required public key.'); | ||
const publicKeyBytes = material_management_1.VerificationKey.decodeCompressPoint(Buffer.from(compressPoint, 'base64'), suite); | ||
@@ -95,3 +95,3 @@ return new material_management_1.NodeDecryptionMaterial(suite, encryptionContext).setVerificationKey(new material_management_1.VerificationKey(publicKeyBytes, suite)); | ||
exports.NodeDefaultCryptographicMaterialsManager = NodeDefaultCryptographicMaterialsManager; | ||
material_management_1.immutableClass(NodeDefaultCryptographicMaterialsManager); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZV9jcnlwdG9ncmFwaGljX21hdGVyaWFsc19tYW5hZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL25vZGVfY3J5cHRvZ3JhcGhpY19tYXRlcmlhbHNfbWFuYWdlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0VBQW9FO0FBQ3BFLHNDQUFzQzs7O0FBRXRDLHlFQWlCd0M7QUFFeEMscURBQTBEO0FBRTFELG1DQUFtQztBQVFuQzs7OztHQUlHO0FBQ0gsTUFBYSx3Q0FBd0M7SUFJbkQsWUFBWSxPQUFvQjtRQUM5QixtREFBbUQ7UUFDbkQsMkJBQUssQ0FBQyxPQUFPLFlBQVksaUNBQVcsRUFBRSxtQkFBbUIsQ0FBQyxDQUFBO1FBQzFELHNDQUFnQixDQUFDLElBQUksRUFBRSxTQUFTLEVBQUUsT0FBTyxDQUFDLENBQUE7SUFDNUMsQ0FBQztJQUVELEtBQUssQ0FBQyxzQkFBc0IsQ0FBQyxFQUMzQixLQUFLLEVBQ0wsaUJBQWlCLEVBQ2pCLGdCQUFnQixHQUNNO1FBQ3RCLEtB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Q3BCLE1BQU0sSUFBSSxLQUFLLENBQ2IsMERBQTBELENBQzNELENBQUE7UUFFSCxNQUFNLEVBQUUsQ0FBQyw4QkFBa0IsQ0FBQyxFQUFFLGFBQWEsRUFBRSxHQUFHLGlCQUFpQixDQUFBO1FBRWpFLHFHQUFxRztRQUNyRyxJQUFBLDJCQUFLLEVBQUMsYUFBYSxFQUFFLCtDQUErQyxDQUFDLENBQUE7UUFFckUsTUFBTSxjQUFjLEdBQUcscUNBQWUsQ0FBQyxtQkFBbUIsQ0FDeEQsTUFBTSxDQUFDLElBQUksQ0FBQyxhQUFhLEVBQUUsUUFBUSxDQUFDLEVBQ3BDLEtBQUssQ0FDTixDQUFBO1FBRUQsT0FBTyxJQUFJLDRDQUFzQixDQUMvQixLQUFLLEVBQ0wsaUJBQWlCLENBQ2xCLENBQUMsa0JBQWtCLENBQUMsSUFBSSxxQ0FBZSxDQUFDLGNBQWMsRUFBRSxLQUFLLENBQUMsQ0FBQyxDQUFBO0lBQ2xFLENBQUM7Q0FDRjtBQS9JRCw0RkErSUM7QUFDRCxJQUFBLG9DQUFjLEVBQUMsd0NBQXdDLENBQUMsQ0FBQSJ9 |
export * from './node_cryptographic_materials_manager'; | ||
export { getEncryptHelper, getDecryptionHelper, GetSigner, GetVerify, GetCipher, GetDecipher, AwsEsdkJsCipherGCM, AwsEsdkJsDecipherGCM, } from './material_helpers'; | ||
export { NodeDecryptionMaterial, NodeEncryptionMaterial, NodeAlgorithmSuite, AlgorithmSuiteIdentifier, EncryptionContext, EncryptedDataKey, KeyringTrace, KeyringTraceFlag, needs, KeyringNode, MultiKeyringNode, immutableBaseClass, immutableClass, frozenClass, readOnlyProperty, NodeMaterialsManager, unwrapDataKey, AwsEsdkKeyObject, CommitmentPolicy, CommitmentPolicySuites, SignaturePolicySuites, SignaturePolicy, MessageFormat, ClientOptions, Newable, } from '@aws-crypto/material-management'; | ||
export { NodeDecryptionMaterial, NodeEncryptionMaterial, NodeAlgorithmSuite, AlgorithmSuiteIdentifier, EncryptionContext, EncryptedDataKey, KeyringTrace, KeyringTraceFlag, needs, NotSupported, KeyringNode, MultiKeyringNode, immutableBaseClass, immutableClass, frozenClass, readOnlyProperty, NodeMaterialsManager, unwrapDataKey, AwsEsdkKeyObject, CommitmentPolicy, CommitmentPolicySuites, SignaturePolicySuites, SignaturePolicy, MessageFormat, ClientOptions, Newable, } from '@aws-crypto/material-management'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,3 +5,3 @@ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | ||
export { getEncryptHelper, getDecryptionHelper, } from './material_helpers'; | ||
export { NodeDecryptionMaterial, NodeEncryptionMaterial, NodeAlgorithmSuite, AlgorithmSuiteIdentifier, EncryptedDataKey, KeyringTraceFlag, needs, KeyringNode, MultiKeyringNode, immutableBaseClass, immutableClass, frozenClass, readOnlyProperty, unwrapDataKey, CommitmentPolicy, CommitmentPolicySuites, SignaturePolicySuites, SignaturePolicy, MessageFormat, } from '@aws-crypto/material-management'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0VBQW9FO0FBQ3BFLHNDQUFzQztBQUV0QyxjQUFjLHdDQUF3QyxDQUFBO0FBQ3RELE9BQU8sRUFDTCxnQkFBZ0IsRUFDaEIsbUJBQW1CLEdBT3BCLE1BQU0sb0JBQW9CLENBQUE7QUFDM0IsT0FBTyxFQUNMLHNCQUFzQixFQUN0QixzQkFBc0IsRUFDdEIsa0JBQWtCLEVBQ2xCLHdCQUF3QixFQUV4QixnQkFBZ0IsRUFFaEIsZ0JBQWdCLEVBQ2hCLEtBQUssRUFDTCxXQUFXLEVBQ1gsZ0JBQWdCLEVBQ2hCLGtCQUFrQixFQUNsQixjQUFjLEVBQ2QsV0FBVyxFQUNYLGdCQUFnQixFQUVoQixhQUFhLEVBRWIsZ0JBQWdCLEVBQ2hCLHNCQUFzQixFQUN0QixxQkFBcUIsRUFDckIsZUFBZSxFQUNmLGFBQWEsR0FHZCxNQUFNLGlDQUFpQyxDQUFBIn0= | ||
export { NodeDecryptionMaterial, NodeEncryptionMaterial, NodeAlgorithmSuite, AlgorithmSuiteIdentifier, EncryptedDataKey, KeyringTraceFlag, needs, NotSupported, KeyringNode, MultiKeyringNode, immutableBaseClass, immutableClass, frozenClass, readOnlyProperty, unwrapDataKey, CommitmentPolicy, CommitmentPolicySuites, SignaturePolicySuites, SignaturePolicy, MessageFormat, } from '@aws-crypto/material-management'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0VBQW9FO0FBQ3BFLHNDQUFzQztBQUV0QyxjQUFjLHdDQUF3QyxDQUFBO0FBQ3RELE9BQU8sRUFDTCxnQkFBZ0IsRUFDaEIsbUJBQW1CLEdBT3BCLE1BQU0sb0JBQW9CLENBQUE7QUFDM0IsT0FBTyxFQUNMLHNCQUFzQixFQUN0QixzQkFBc0IsRUFDdEIsa0JBQWtCLEVBQ2xCLHdCQUF3QixFQUV4QixnQkFBZ0IsRUFFaEIsZ0JBQWdCLEVBQ2hCLEtBQUssRUFDTCxZQUFZLEVBQ1osV0FBVyxFQUNYLGdCQUFnQixFQUNoQixrQkFBa0IsRUFDbEIsY0FBYyxFQUNkLFdBQVcsRUFDWCxnQkFBZ0IsRUFFaEIsYUFBYSxFQUViLGdCQUFnQixFQUNoQixzQkFBc0IsRUFDdEIscUJBQXFCLEVBQ3JCLGVBQWUsRUFDZixhQUFhLEdBR2QsTUFBTSxpQ0FBaUMsQ0FBQSJ9 |
/// <reference types="node" /> | ||
import { NodeEncryptionMaterial, NodeDecryptionMaterial, AwsEsdkKeyObject } from '@aws-crypto/material-management'; | ||
import { Signer, Verify, createCipheriv, createDecipheriv } from 'crypto'; | ||
import { createCipheriv, createDecipheriv } from 'crypto'; | ||
import { AwsESDKSigner, AwsESDKVerify } from './types'; | ||
export interface AwsEsdkJsCipherGCM { | ||
@@ -26,3 +27,3 @@ update(data: Buffer): Buffer; | ||
export interface GetSigner { | ||
(): Signer & { | ||
(): AwsESDKSigner & { | ||
awsCryptoSign: () => Buffer; | ||
@@ -47,3 +48,3 @@ }; | ||
export interface GetVerify { | ||
(): Verify & { | ||
(): AwsESDKVerify & { | ||
awsCryptoVerify: (signature: Buffer) => boolean; | ||
@@ -50,0 +51,0 @@ }; |
@@ -177,2 +177,2 @@ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF0ZXJpYWxfaGVscGVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9tYXRlcmlhbF9oZWxwZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7QUFFdEMsT0FBTyxFQUNMLEtBQUssRUFDTCxzQkFBc0IsRUFDdEIsc0JBQXNCLEVBQ3RCLGFBQWEsRUFDYiw0QkFBNEIsR0FHN0IsTUFBTSxpQ0FBaUMsQ0FBQTtBQUN4QyxPQUFPLEVBR0wsY0FBYyxFQUNkLGdCQUFnQixFQUNoQixVQUFVLEVBQ1YsWUFBWSxFQUNaLGVBQWUsR0FDaEIsTUFBTSxRQUFRLENBQUE7QUFDZixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sdUJBQXVCLENBQUE7QUFDNUMsT0FBTyxFQUFFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHVCQU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UFDLEVBQzVCLFNBQVMsQ0FBQyxDQUFDLENBQUMsNEJBQTRCLENBQUMsQ0FBQyxDQUFDLG9CQUFvQixDQUNoRSxDQUFBO0lBRUQsTUFBTSxZQUFZLEdBQUcsTUFBTSxDQUFDLGNBQWMsRUFBRSxRQUFRLENBQUMsQ0FBQTtJQUNyRCxNQUFNLFVBQVUsR0FBRyw0QkFBNEIsQ0FBQyxZQUFZLENBQUMsQ0FBQTtJQUM3RCxPQUFPLEVBQUUsVUFBVSxFQUFFLGFBQWEsRUFBRSxDQUFBO0FBQ3RDLENBQUMifQ== |
{ | ||
"name": "@aws-crypto/material-management-node", | ||
"version": "3.0.3", | ||
"version": "3.1.0", | ||
"scripts": { | ||
@@ -22,4 +22,4 @@ "prepublishOnly": "npm run build", | ||
"@aws-crypto/hkdf-node": "^3.0.0", | ||
"@aws-crypto/material-management": "^3.0.0", | ||
"@aws-crypto/serialize": "^3.0.0", | ||
"@aws-crypto/material-management": "^3.1.0", | ||
"@aws-crypto/serialize": "^3.1.0", | ||
"tslib": "^2.2.0" | ||
@@ -34,3 +34,3 @@ }, | ||
], | ||
"gitHead": "6ba9add3e0aea196ae4cb298709cb80725a9404c" | ||
"gitHead": "1bc8957ce9378767d3fca65ae5310c130384e075" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95734
27
794