@bloock/sdk / Encrypter
Class: Encrypter
Represents an encryption configuration with various key types and access control.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Encrypter(key, accessControl?): Encrypter
Creates a new Encrypter instance with a local encryption key.
Parameters
| Name | Type |
|---|---|
key | LocalKey | ManagedKey | LocalCertificate | ManagedCertificate |
accessControl? | AccessControl |
Returns
Defined in
entity/encryption/encrypter.ts:25
Properties
accessControl
• Optional accessControl: AccessControl
Defined in
entity/encryption/encrypter.ts:18
localCertificate
• Optional localCertificate: LocalCertificate
Defined in
entity/encryption/encrypter.ts:17
localKey
• Optional localKey: LocalKey
Defined in
entity/encryption/encrypter.ts:14
managedCertificate
• Optional managedCertificate: ManagedCertificate
Defined in
entity/encryption/encrypter.ts:16
managedKey
• Optional managedKey: ManagedKey
Defined in
entity/encryption/encrypter.ts:15
Methods
toProto
▸ toProto(): Encrypter
Returns
Encrypter