Class EncryptedKeyStore
java.lang.Object
de.xima.fc.certificate.provider.internal.rpc.EncryptedKeyStore
- All Implemented Interfaces:
Serializable
Represents an encrypted key store containing certificates and private keys. The model is serializable for RPC
communication.
- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedKeyStore(byte[] keystoreBytes, String keystoreType, String passwordHint) Creates a newEncryptedKeyStoreinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EncryptedKeyStoreforBundles(Iterable<CertificateBundle> certificateBundles, char[] password, String passwordHint) byte[]The bytes of the PKCS#12 keystoreThe type of the keystore, typically "PKCS12" or "JKS".A hint for the password used to encrypt the keystore.inthashCode()toString()
-
Constructor Details
-
EncryptedKeyStore
Creates a newEncryptedKeyStoreinstance.- Parameters:
keystoreBytes- The bytes of the PKCS#12 keystorekeystoreType- The type of the keystore, typically "PKCS12" or "JKS".passwordHint- A hint for the password used to encrypt the keystore. This is not the actual password, but a hint as to which password was used to encrypt the keystore.
-
-
Method Details
-
forBundles
public static EncryptedKeyStore forBundles(Iterable<CertificateBundle> certificateBundles, char[] password, String passwordHint) throws FcCertificateProviderException - Throws:
FcCertificateProviderException
-
getKeystoreBytes
public byte[] getKeystoreBytes()The bytes of the PKCS#12 keystore -
getKeystoreType
The type of the keystore, typically "PKCS12" or "JKS". -
getPasswordHint
A hint for the password used to encrypt the keystore. This is not the actual password, but a hint as to which password was used to encrypt the keystore. -
equals
-
hashCode
-
toString
-