public class PfxCertificate extends Win32Certificate
Constructor and Description |
---|
PfxCertificate(java.lang.String pathToCert,
java.lang.String password,
java.lang.String certName)
Loads a certificate from a .pfx file, using the given file path, password and certificate name.
|
Modifier and Type | Method and Description |
---|---|
void |
addToStore(Win32CertificateLocation certStoreLocation,
Win32CertificateStore certStore)
Adds the certificate to the given Windows certificate store.
|
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(PfxCertificate obj) |
exportToPfx, findRootCertificate, getCertificateName, getCPtr, getIssuerName
getCPtr
public PfxCertificate(java.lang.String pathToCert, java.lang.String password, java.lang.String certName)
protected static long getCPtr(PfxCertificate obj)
protected void finalize()
finalize
in class Win32Certificate
public void delete()
delete
in class Win32Certificate
public void addToStore(Win32CertificateLocation certStoreLocation, Win32CertificateStore certStore)