|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.truststore.client.CertificateServiceClient
public class CertificateServiceClient
The CertificateServiceClient
class enables you to programmatically interact with the
LiveCycle ES2 Credential service. Using an obbject of this type, you can perform tasks such as importing and
deleting certificates. A certificate is public key information that you configure for trust.
LiveCycle ES2 uses certificates and credentials for several purposes:
To see an object of this type used in a code example, see the <>Importing certificates using the Java API<> quick start in Programming with LiveCycle ES4.
Constructor Summary | |
---|---|
CertificateServiceClient(ServiceClientFactory serviceClientFactory)
|
Method Summary | |
---|---|
void |
addCertificate(com.adobe.truststore.businessobject.CertificateBO certificate)
Adds a certificate to LiveCycle ES2. |
void |
deleteCertificate(java.lang.String alias)
Deletes a certificate from LiveCycle ES2. |
void |
deregisterCacheInvalidationHandler(java.lang.String serviceName,
java.lang.String operationName)
deregisterCacheInvalidationHandler |
Document |
exportCertificate(java.lang.String alias)
Exports a certificate from LiveCycle ES2. |
java.util.List |
findAllCertificates()
|
com.adobe.truststore.businessobject.CertificateBO |
findCertificateByAlias(java.lang.String alias)
|
java.util.List |
findCertificates(com.adobe.truststore.businessobject.CertificateSearchFilter searchFilter)
Searches for a certificate based on search criteria. |
java.lang.String |
getCertificatePolicyOIDs(java.lang.String alias)
Retrieves certificate OID values that exist within LiveCycle ES2. |
com.adobe.truststore.businessobject.CertificateType[] |
getCertificateTypes(java.lang.String locale)
Retrieves certificate types that exist within LiveCycle ES2. |
void |
importCertificate(java.lang.String alias,
Document binaryCertificate,
java.lang.String[] types)
Imports a certificate into LiveCycle ES2. |
void |
registerCacheInvalidationHandler(java.lang.String serviceName,
java.lang.String operationName)
registerCacheInvalidationHandler |
void |
setCertificatePolicyOIDs(java.lang.String alias,
java.lang.String policyOIDs)
This is an internal method. |
void |
setCertificateTypes(java.lang.String alias,
java.lang.String[] certificateTypes)
This is an internal method. |
void |
updateCertificate(java.lang.String alias,
com.adobe.truststore.businessobject.CertificateBO certificate)
Updates a certificate that exists within LiveCycle ES2. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CertificateServiceClient(ServiceClientFactory serviceClientFactory)
Method Detail |
---|
public com.adobe.truststore.businessobject.CertificateType[] getCertificateTypes(java.lang.String locale) throws java.lang.Exception
locale
- The locate value of the certificate.
CertificateType
objects.
java.lang.Exception
public java.lang.String getCertificatePolicyOIDs(java.lang.String alias) throws java.lang.Exception
locale
- The locate value of the certificate.
java.lang.Exception
public void addCertificate(com.adobe.truststore.businessobject.CertificateBO certificate) throws java.lang.Exception
certificate
- A CertificateBO
object that represents the certificate to add.
java.lang.Exception
public void importCertificate(java.lang.String alias, Document binaryCertificate, java.lang.String[] types) throws java.lang.Exception
Importing certificates using the Java API
quick start in Programming with LiveCycle ES4.
alias
- A string value that specifies the alias value for the certificate. This value is used when performing LiveCycle ES2 operations that use the certificate.alias
- binaryCertificate A com.adobe.idp.Document
instance that represents the certificate.types
- A string array that contains the usage value. For example, you can specify truststore.usage.type.sign
.
java.lang.Exception
public Document exportCertificate(java.lang.String alias) throws java.lang.Exception
alias
- The alias value that is used to reference the certificate to export.
com.adobe.idp.Document
object that represents the exported certificate.
java.lang.Exception
public void deleteCertificate(java.lang.String alias) throws java.lang.Exception
Deleting certificates using the Java API
quick start in Programming with LiveCycle ES4.
alias
- The alias value that is used to reference the certificate to delete.
java.lang.Exception
public void updateCertificate(java.lang.String alias, com.adobe.truststore.businessobject.CertificateBO certificate) throws java.lang.Exception
alias
- The alias value that is used to reference the certificate to update.certificate
- A CertificateBO
object that represents the updated certificate.
java.lang.Exception
public void setCertificateTypes(java.lang.String alias, java.lang.String[] certificateTypes) throws java.lang.Exception
java.lang.Exception
public void setCertificatePolicyOIDs(java.lang.String alias, java.lang.String policyOIDs) throws java.lang.Exception
java.lang.Exception
public java.util.List findCertificates(com.adobe.truststore.businessobject.CertificateSearchFilter searchFilter) throws java.lang.Exception
searchFilter
- A CertificateSearchFilter
that represents the certificate search criteria.
CertificateSearchFilter
instance that contains certificate that match the search criteria.
java.lang.Exception
public java.util.List findAllCertificates() throws java.lang.Exception
java.lang.Exception
public com.adobe.truststore.businessobject.CertificateBO findCertificateByAlias(java.lang.String alias) throws java.lang.Exception
java.lang.Exception
public void registerCacheInvalidationHandler(java.lang.String serviceName, java.lang.String operationName) throws java.lang.Exception
java.lang.Exception
public void deregisterCacheInvalidationHandler(java.lang.String serviceName, java.lang.String operationName) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |