MPICryptor constructor
MPICryptor()
Implementation
MPICryptor(this._h) {
_methods = {
'encrypt': Method(
{
MPI: const MPI(
name: 'mesh.crypt.encrypt',
version: '0.0.0',
proto: 'grpc',
codec: 'json',
flags: 0,
timeout: 12000,
retries: 3,
idc: '',
zone: '',
cluster: '',
cell: '',
group: '',
address: '',
),
},
Cryptor,
_MeshCryptorEncryptParameters,
_MeshCryptorEncryptReturns,
),
'decrypt': Method(
{
MPI: const MPI(
name: 'mesh.crypt.decrypt',
version: '0.0.0',
proto: 'grpc',
codec: 'json',
flags: 0,
timeout: 12000,
retries: 3,
idc: '',
zone: '',
cluster: '',
cell: '',
group: '',
address: '',
),
},
Cryptor,
_MeshCryptorDecryptParameters,
_MeshCryptorDecryptReturns,
),
'hash': Method(
{
MPI: const MPI(
name: 'mesh.crypt.hash',
version: '0.0.0',
proto: 'grpc',
codec: 'json',
flags: 0,
timeout: 12000,
retries: 3,
idc: '',
zone: '',
cluster: '',
cell: '',
group: '',
address: '',
),
},
Cryptor,
_MeshCryptorHashParameters,
_MeshCryptorHashReturns,
),
'sign': Method(
{
MPI: const MPI(
name: 'mesh.crypt.sign',
version: '0.0.0',
proto: 'grpc',
codec: 'json',
flags: 0,
timeout: 12000,
retries: 3,
idc: '',
zone: '',
cluster: '',
cell: '',
group: '',
address: '',
),
},
Cryptor,
_MeshCryptorSignParameters,
_MeshCryptorSignReturns,
),
'verify': Method(
{
MPI: const MPI(
name: 'mesh.crypt.verify',
version: '0.0.0',
proto: 'grpc',
codec: 'json',
flags: 0,
timeout: 12000,
retries: 3,
idc: '',
zone: '',
cluster: '',
cell: '',
group: '',
address: '',
),
},
Cryptor,
_MeshCryptorVerifyParameters,
_MeshCryptorVerifyReturns,
),
};
}