|
|||||||||
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.x509certificate2
public static pdfcertificate[] getcertificates()
public boolean verify()
verify
in class com.spire.ms.system.security.cryptography.x509certificates.x509certificate2
public 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.x509certificate2
value
-
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |