GeneralName class

Describes an ASN.1 X.400 GeneralName as defined in RFC 5280. Only one of the following naming options should be providied. Providing more than one option results in an InvalidArgsException error.

Constructors

GeneralName({ASN1Subject? directoryName, String? dnsName, EdiPartyName? ediPartyName, String? ipAddress, OtherName? otherName, String? registeredId, String? rfc822Name, String? uniformResourceIdentifier})
GeneralName.fromJson(Map<String, dynamic> json)
factory

Properties

directoryName ASN1Subject?
final
dnsName String?
Represents GeneralName as a DNS name.
final
ediPartyName EdiPartyName?
Represents GeneralName as an EdiPartyName object.
final
hashCode int
The hash code for this object.
no setterinherited
ipAddress String?
Represents GeneralName as an IPv4 or IPv6 address.
final
otherName OtherName?
Represents GeneralName using an OtherName object.
final
registeredId String?
Represents GeneralName as an object identifier (OID).
final
rfc822Name String?
Represents GeneralName as an RFC 822 email address.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uniformResourceIdentifier String?
Represents GeneralName as a URI.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited