CryptoActorStub constructor

const CryptoActorStub({
  1. required String id,
  2. required String rev,
  3. @Default.new({}) Map<String, List<HexString>> hcPartyKeys,
  4. @Default.new({}) Map<AesExchangeKeyEntryKeyString, Map<String, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>> aesExchangeKeys,
  5. @Default.new({}) Map<AesExchangeKeyEncryptionKeypairIdentifier, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>> transferKeys,
  6. @Default.new({}) Map<String, HexString> privateKeyShamirPartitions,
  7. @Default.new(null) CardinalRsaPublicKey? publicKey,
  8. required Set<CardinalRsaPublicKey> publicKeysForOaepWithSha256,
  9. @Default.new(null) String? parentId,
  10. @Default.new(null) Set<DecryptedPropertyStub>? cryptoActorProperties,
})

Implementation

const factory CryptoActorStub({
	required String id,
	required String rev,
	@Default({}) Map<String, List<HexString>> hcPartyKeys,
	@Default({}) Map<AesExchangeKeyEntryKeyString, Map<String, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>> aesExchangeKeys,
	@Default({}) Map<AesExchangeKeyEncryptionKeypairIdentifier, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>> transferKeys,
	@Default({}) Map<String, HexString> privateKeyShamirPartitions,
	@Default(null) CardinalRsaPublicKey? publicKey,
	required Set<CardinalRsaPublicKey> publicKeysForOaepWithSha256,
	@Default(null) String? parentId,
	@Default(null) Set<DecryptedPropertyStub>? cryptoActorProperties,
}) = _CryptoActorStub;