SealedAndSigned constructor

SealedAndSigned({
  1. List<int>? encryptedSecretKey,
  2. List<int>? encryptedPayloadWithHmac,
  3. List<int>? signature,
  4. List<int>? sigPublicKeyBytes,
})

Implementation

factory SealedAndSigned({
  $core.List<$core.int>? encryptedSecretKey,
  $core.List<$core.int>? encryptedPayloadWithHmac,
  $core.List<$core.int>? signature,
  $core.List<$core.int>? sigPublicKeyBytes,
}) {
  final $result = create();
  if (encryptedSecretKey != null) {
    $result.encryptedSecretKey = encryptedSecretKey;
  }
  if (encryptedPayloadWithHmac != null) {
    $result.encryptedPayloadWithHmac = encryptedPayloadWithHmac;
  }
  if (signature != null) {
    $result.signature = signature;
  }
  if (sigPublicKeyBytes != null) {
    $result.sigPublicKeyBytes = sigPublicKeyBytes;
  }
  return $result;
}