public class X509Rfc822Name extends Object implements X509StringGeneralName, org.xwiki.crypto.pkix.internal.extension.BcGeneralName
Constructor and Description |
---|
X509Rfc822Name(org.bouncycastle.asn1.x509.GeneralName name)
Create a new instance from a Bouncy Castle general name.
|
X509Rfc822Name(javax.mail.internet.InternetAddress address)
Constructs a RFC 822 general name from an internet address.
|
X509Rfc822Name(String address)
Constructs a RFC 822 general name by parsing the given string.
|
Modifier and Type | Method and Description |
---|---|
javax.mail.internet.InternetAddress |
getAddress() |
org.bouncycastle.asn1.x509.GeneralName |
getGeneralName() |
String |
getName() |
public X509Rfc822Name(String address)
address
- the address compliant with RFC 822.public X509Rfc822Name(javax.mail.internet.InternetAddress address)
address
- the address compliant with RFC 822.public X509Rfc822Name(org.bouncycastle.asn1.x509.GeneralName name)
name
- the Bouncy Castle general name.public javax.mail.internet.InternetAddress getAddress()
public String getName()
getName
in interface X509StringGeneralName
public org.bouncycastle.asn1.x509.GeneralName getGeneralName()
getGeneralName
in interface org.xwiki.crypto.pkix.internal.extension.BcGeneralName
Copyright © 2004–2021 XWiki. All rights reserved.