Class GeneralName

    • Method Detail

      • otherName

        public final OtherName otherName()

        Represents GeneralName using an OtherName object.

        Returns:
        Represents GeneralName using an OtherName object.
      • rfc822Name

        public final String rfc822Name()

        Represents GeneralName as an RFC 822 email address.

        Returns:
        Represents GeneralName as an RFC 822 email address.
      • dnsName

        public final String dnsName()

        Represents GeneralName as a DNS name.

        Returns:
        Represents GeneralName as a DNS name.
      • directoryName

        public final ASN1Subject directoryName()
        Returns the value of the DirectoryName property for this object.
        Returns:
        The value of the DirectoryName property for this object.
      • ediPartyName

        public final EdiPartyName ediPartyName()

        Represents GeneralName as an EdiPartyName object.

        Returns:
        Represents GeneralName as an EdiPartyName object.
      • uniformResourceIdentifier

        public final String uniformResourceIdentifier()

        Represents GeneralName as a URI.

        Returns:
        Represents GeneralName as a URI.
      • ipAddress

        public final String ipAddress()

        Represents GeneralName as an IPv4 or IPv6 address.

        Returns:
        Represents GeneralName as an IPv4 or IPv6 address.
      • registeredId

        public final String registeredId()

        Represents GeneralName as an object identifier (OID).

        Returns:
        Represents GeneralName as an object identifier (OID).
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)