Class CertificateAuthority
- java.lang.Object
-
- org.wildfly.security.x500.cert.acme.CertificateAuthority
-
public class CertificateAuthority extends Object
A class that represents an Automatic Certificate Management Environment (ACME) certificate authority endpoint.- Since:
- 1.9.0
- Author:
- Diana Vilkolakova
-
-
Field Summary
Fields Modifier and Type Field Description private static String
DIRECTORY
static CertificateAuthority
LETS_ENCRYPT
private static String
LETS_ENCRYPT_STAGING_URL
private static String
LETS_ENCRYPT_URL
private String
name
private String
stagingUrl
private String
url
-
Constructor Summary
Constructors Constructor Description CertificateAuthority(String name, String url, String stagingUrl)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateAuthority
getDefault()
Get the default certificate authority endpoint.String
getName()
Get the name of certificate authority.String
getStagingUrl()
Get the certificate authority staging URLString
getUrl()
Get the certificate authority URLvoid
setName(String name)
Set the name of certificate authority.void
setStagingUrl(String stagingUrl)
Set the staging URL of certificate authority.void
setUrl(String url)
Set the URL of certificate authority.
-
-
-
Field Detail
-
DIRECTORY
private static final String DIRECTORY
- See Also:
- Constant Field Values
-
LETS_ENCRYPT_STAGING_URL
private static final String LETS_ENCRYPT_STAGING_URL
- See Also:
- Constant Field Values
-
LETS_ENCRYPT_URL
private static final String LETS_ENCRYPT_URL
- See Also:
- Constant Field Values
-
name
private String name
-
url
private String url
-
stagingUrl
private String stagingUrl
-
LETS_ENCRYPT
public static final CertificateAuthority LETS_ENCRYPT
-
-
Method Detail
-
getDefault
public static CertificateAuthority getDefault()
Get the default certificate authority endpoint.- Returns:
- LETS_ENCRYPT certificate authority holding Let's Encrypt URLs
-
getName
public String getName()
Get the name of certificate authority.- Returns:
- name of the certificate authority
-
getUrl
public String getUrl()
Get the certificate authority URL- Returns:
- certificate authority URL
-
getStagingUrl
public String getStagingUrl()
Get the certificate authority staging URL- Returns:
- certificate authority staging URL
-
setName
public void setName(String name)
Set the name of certificate authority.- Parameters:
name
- the name of certificate authority (must not benull
)
-
setUrl
public void setUrl(String url)
Set the URL of certificate authority.- Parameters:
url
- URL of certificate authority (must not benull
)
-
setStagingUrl
public void setStagingUrl(String stagingUrl)
Set the staging URL of certificate authority.- Parameters:
stagingUrl
- staging URL of certificate authority
-
-