|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.ms.System.Security.Cryptography.X509Certificates.X509Certificate
com.spire.ms.System.Security.Cryptography.X509Certificates.X509Certificate2
com.spire.pdf.security.PdfCertificate
public class PdfCertificate
Represents the Certificate object.
| Constructor Summary | |
|---|---|
PdfCertificate(byte[] signData)
Signature data |
|
PdfCertificate(byte[] signData,
java.lang.String password)
Signature data |
|
PdfCertificate(java.lang.String pfxPath,
java.lang.String password)
Creates new PdfCertificate from PFX file. |
|
PdfCertificate(java.lang.String pfxPath,
java.lang.String password,
int storageFlags)
|
|
| Method Summary | |
|---|---|
com.spire.ms.System.Security.Cryptography.X509Certificates.X500DistinguishedName |
get_IssuerName()
Gets the certificate issuer's name. |
static PdfCertificate[] |
getCertificates()
Gets the certificates in all storages |
java.lang.String |
getIssuer()
Get certificate instance |
java.lang.String |
getNameInfo(X509NameType nameType,
boolean forIssuer)
always return String.Empty for UpnName, DnsFromAlternativeName and UrlName |
void |
setFriendlyName(java.lang.String value)
Sets friendly name |
boolean |
verify()
by default this depends on the incomplete X509Chain |
| Constructor Detail |
|---|
public PdfCertificate(java.lang.String pfxPath,
java.lang.String password)
pfxPath - The path to pfx file.password - The password for pfx file.
public PdfCertificate(java.lang.String pfxPath,
java.lang.String password,
int storageFlags)
pfxPath - password - storageFlags - X509KeyStorageFlagspublic PdfCertificate(byte[] signData)
signData - The data to pfx file.
public PdfCertificate(byte[] signData,
java.lang.String password)
signData - The data to pfx file.password - The password for pfx file.| Method Detail |
|---|
public com.spire.ms.System.Security.Cryptography.X509Certificates.X500DistinguishedName get_IssuerName()
get_IssuerName in class com.spire.ms.System.Security.Cryptography.X509Certificates.X509Certificate2public static PdfCertificate[] getCertificates()
public boolean verify()
verify in class com.spire.ms.System.Security.Cryptography.X509Certificates.X509Certificate2public java.lang.String getIssuer()
getIssuer in class com.spire.ms.System.Security.Cryptography.X509Certificates.X509Certificate
public java.lang.String getNameInfo(X509NameType nameType,
boolean forIssuer)
nameType - X509NameTypeforIssuer - forIssuer
public void setFriendlyName(java.lang.String value)
setFriendlyName in class com.spire.ms.System.Security.Cryptography.X509Certificates.X509Certificate2value -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||