|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.Certificate
public class Certificate
Represents a digital certificate.
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
Certificate(java.lang.String certificatePath,
java.lang.String password)
Intializes a new instance of a Certificate from the given file. |
Method Summary | |
---|---|
java.lang.String |
getIssuer()
Gets the complete issuer string from the certificate loaded. |
java.security.PrivateKey |
getPrivateKey()
Gets the PrivateKey from the KeyStore. |
boolean |
getSignSilently()
Get to prompt for the selection of a signing Certificate. |
java.lang.String |
getSubject()
Gets the complete subject string from the certificate loaded. |
java.lang.String |
getTimestampServerUrl()
Get the Timestamp Server Url from the certificate loaded. |
void |
setSignSilently(boolean value)
Sets to prompt for the selection of a signing Certificate. |
java.lang.String |
subjectName()
Gets the subject name of the certificate loaded. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Certificate(java.lang.String certificatePath, java.lang.String password) throws java.io.FileNotFoundException
java.io.FileNotFoundException
- If the file does not exist in the specified path.
GeneratorException
- in case of unsupported signature algorithms, any KeyStore exception, a key in the KeyStore cannot be recovered, failed or interrupted I/O operations, or any certificate problem.certificatePath
- Physical file path to a digital certificate with private key.password
- Password for the certificate.Method Detail |
---|
public java.security.PrivateKey getPrivateKey()
public java.lang.String subjectName()
public java.lang.String getSubject()
public java.lang.String getIssuer()
public java.lang.String getTimestampServerUrl()
public boolean getSignSilently()
public void setSignSilently(boolean value)
value
- prompt for the selection of a signing Certificate.
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |