subjectDistinguishedName property

String? get subjectDistinguishedName

Returns the subject (subject distinguished name) value from the certificate as a String.

Implementation

String? get subjectDistinguishedName {
  var subjectBlock = block1?.atIndex(X509BlockPosition.subject);
  if (subjectBlock != null) {
    return ASN1DistinguishedNames.string(block: subjectBlock);
  }
  return null;
}