public class KeyStoreCertProvider extends Object implements IMailEncryptorCertProvider
Constructor and Description |
---|
KeyStoreCertProvider()
Creats an provider with an default keystore
|
KeyStoreCertProvider(File keyStoreFile,
String keyStorePassword)
Creats an provider with the given keystore-config or default if the config is not valid
|
Modifier and Type | Method and Description |
---|---|
X509Certificate |
findCertificateForModel(CertRequestDataModel model)
Method to dertermine the certificate of an given mail-address
|
public KeyStoreCertProvider() throws Exception
Exception
- on errors while opening or creating the keystorepublic X509Certificate findCertificateForModel(CertRequestDataModel model)
IMailEncryptorCertProvider
findCertificateForModel
in interface IMailEncryptorCertProvider
X509Certificate
the certificate or null
is none was foundCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.