X509CertificateDetails constructor

X509CertificateDetails({
  1. String? issuer,
  2. String? subject,
  3. Timestamp? startTime,
  4. Timestamp? expiryTime,
  5. String? signatureAlgorithm,
  6. String? publicKeyType,
})

Implementation

factory X509CertificateDetails({
  $core.String? issuer,
  $core.String? subject,
  $2.Timestamp? startTime,
  $2.Timestamp? expiryTime,
  $core.String? signatureAlgorithm,
  $core.String? publicKeyType,
}) {
  final $result = create();
  if (issuer != null) {
    $result.issuer = issuer;
  }
  if (subject != null) {
    $result.subject = subject;
  }
  if (startTime != null) {
    $result.startTime = startTime;
  }
  if (expiryTime != null) {
    $result.expiryTime = expiryTime;
  }
  if (signatureAlgorithm != null) {
    $result.signatureAlgorithm = signatureAlgorithm;
  }
  if (publicKeyType != null) {
    $result.publicKeyType = publicKeyType;
  }
  return $result;
}