OperationalCertificate constructor

OperationalCertificate({
  1. VerificationKeyKesProduct? parentVK,
  2. SignatureKesProduct? parentSignature,
  3. List<int>? childVK,
  4. List<int>? childSignature,
})

Implementation

factory OperationalCertificate({
  VerificationKeyKesProduct? parentVK,
  SignatureKesProduct? parentSignature,
  $core.List<$core.int>? childVK,
  $core.List<$core.int>? childSignature,
}) {
  final _result = create();
  if (parentVK != null) {
    _result.parentVK = parentVK;
  }
  if (parentSignature != null) {
    _result.parentSignature = parentSignature;
  }
  if (childVK != null) {
    _result.childVK = childVK;
  }
  if (childSignature != null) {
    _result.childSignature = childSignature;
  }
  return _result;
}