public class CertificateCredential extends Credential
| Modifier and Type | Class and Description |
|---|---|
static class |
CertificateCredential.CERTIFICATE_SOURCE_TYPES
The source of the certificate.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPENAME |
SCOPE_GLOBAL| Constructor and Description |
|---|
CertificateCredential() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
dataForCreate() |
Map<String,Object> |
dataForUpdate() |
byte[] |
getCertificateContent() |
String |
getCertificatePath() |
CertificateCredential.CERTIFICATE_SOURCE_TYPES |
getCertificateSourceType() |
String |
getPassword() |
void |
setCertificateContent(byte[] certificateContent)
Set the content of the certificate.
|
void |
setCertificatePath(String certificatePath)
Set the path of the certificate.
|
void |
setCertificateSourceType(CertificateCredential.CERTIFICATE_SOURCE_TYPES certificateSourceType)
Set the source of the certificate
|
void |
setPassword(String password)
Set the password of the certificate
|
getDescription, getDisplayName, getFullName, getId, getScope, getTypeName, setDescription, setDisplayName, setFullName, setId, setScope, setTypeName, useMultipartFormpublic static final String TYPENAME
public String getPassword()
public void setPassword(String password)
password - public String getCertificatePath()
public void setCertificatePath(String certificatePath)
certificatePath - public byte[] getCertificateContent()
public void setCertificateContent(byte[] certificateContent)
certificateContent - public CertificateCredential.CERTIFICATE_SOURCE_TYPES getCertificateSourceType()
public void setCertificateSourceType(CertificateCredential.CERTIFICATE_SOURCE_TYPES certificateSourceType)
certificateSourceType - public Map<String,Object> dataForCreate()
dataForCreate in class Credentialpublic Map<String,Object> dataForUpdate()
dataForUpdate in class CredentialCopyright © 2017 JBoss by Red Hat. All rights reserved.