Klasse EmailIdentifier

java.lang.Object
org.shredzone.acme4j.Identifier
org.shredzone.acme4j.smime.EmailIdentifier
Alle implementierten Schnittstellen:
Serializable

public class EmailIdentifier extends Identifier
Represents an e-mail identifier.
Seit:
2.12
Siehe auch:
  • Felddetails

  • Methodendetails

    • email

      public static EmailIdentifier email(String email)
      Creates a new email identifier for the given address.
      Parameter:
      email - Email address. Must only be the address itself (without personal name).
      Gibt zurück:
      New EmailIdentifier
    • email

      public static EmailIdentifier email(jakarta.mail.internet.InternetAddress email)
      Creates a new email identifier for the given address.
      Parameter:
      email - Email address. Only the address itself is used. The personal name will be ignored.
      Gibt zurück:
      New EmailIdentifier
    • getEmailAddress

      public jakarta.mail.internet.InternetAddress getEmailAddress()
      Returns the email address.
      Gibt zurück:
      InternetAddress
      Löst aus:
      AcmeProtocolException - if this is not a valid email identifier.