public class KeyStoreManager extends java.lang.Object implements JPropertiesListener
REVISION| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.security.cert.X509CRL> |
getCrlMap() |
static KeyStoreManager |
getInstance() |
java.util.Map<java.lang.String,java.security.PublicKey> |
getIssuerPublicKeyMap() |
java.security.PrivateKey |
getPrivateKey() |
boolean |
isInitialized() |
void |
propertiesChange(JProperties properties)
Invoked after properties have been modified in JCMS and save on disk.
|
static java.security.PrivateKey |
readPrivateKey(java.io.File privateKeyFile,
java.lang.String password)
Read a private key file
|
public static KeyStoreManager getInstance()
public boolean isInitialized()
public java.util.Map<java.lang.String,java.security.PublicKey> getIssuerPublicKeyMap()
public java.util.Map<java.lang.String,java.security.cert.X509CRL> getCrlMap()
public java.security.PrivateKey getPrivateKey()
public void propertiesChange(JProperties properties)
JPropertiesListenerYou cannot alter the value received in parameters.
Note that properties parameter may be null, a limited set of site properties, or all site properties.
To check that a property has been modified, reload the "current" property instead using channel.getProperties or
channel.getProperty.
propertiesChange in interface JPropertiesListenerproperties - the properties which have been submitted to changepublic static java.security.PrivateKey readPrivateKey(java.io.File privateKeyFile,
java.lang.String password)
privateKeyFile - the private key filepassword - the password to read the keyPrivateKey object, or null if any errors occursCopyright © 2001-2022 Jalios SA. All Rights Reserved.