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)
JPropertiesListener
You cannot alter the value received in parameters.
propertiesChange
in interface JPropertiesListener
properties
- the properties which have been modified (may not contain all JCMS properties)public 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-2018 Jalios SA. All Rights Reserved.