|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.Sericon.ProductAgents.AutoSSLAgent.KeystoreAccess
public class KeystoreAccess
Provide access to the generated SSL certificate in the Keystore. This class contains enough information to be able to access the generated SSL certificate as well as the the private key so that encrypted transmissions may be supported.
| Method Summary | |
|---|---|
void |
exportSSLCertificate(java.lang.String fileName)
Export the generated SSL certificate into its own file so that it can be viewed with a standard certificate viewer. |
java.lang.String |
getKeystoreFilename()
Gets the file name of the keystore that contains the SSL certificate |
java.lang.String |
getKeystorePassword()
Gets the password of the keystore that contains the SSL certificate |
java.security.PrivateKey |
getPrivateKey()
Gets the SSL certificate's private key |
java.security.cert.X509Certificate |
getSSLCertificate()
Gets the SSL certificate |
java.lang.String |
getSSLCertificateAlias()
Gets the alias of the SSL certificate in this keystore |
java.lang.String |
getSSLCertificatePassword()
Gets the password of the SSL certificate's private key |
java.lang.String |
toString()
Creates a textual representation of all of the information contained in this keystore |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getKeystoreFilename()
public java.lang.String getKeystorePassword()
public java.lang.String getSSLCertificatePassword()
public java.lang.String getSSLCertificateAlias()
public java.security.cert.X509Certificate getSSLCertificate()
throws PRAException
PRAException
public java.security.PrivateKey getPrivateKey()
throws PRAException
PRAExceptionpublic java.lang.String toString()
toString in class java.lang.Object
public void exportSSLCertificate(java.lang.String fileName)
throws PRAException
fileName - The name of the file to export the SSL certificate into. Note that a certificate typically has a file type of .cer
PRAException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||