public class KeyStoreAccessorImpl extends Object implements KeyStoreAccessor
Constructor and Description |
---|
KeyStoreAccessorImpl(KeyStoreProvider keyStoreProvider) |
Modifier and Type | Method and Description |
---|---|
X509Certificate |
loadCertificate(CertificateDetails certificateDetails)
Returns the x509 certificate of a private key.
|
public KeyStoreAccessorImpl(@Nonnull KeyStoreProvider keyStoreProvider)
public X509Certificate loadCertificate(@Nonnull CertificateDetails certificateDetails) throws IOException, NoSuchAlgorithmException, KeyStoreException, CertificateException, UnrecoverableKeyException
KeyStoreAccessor
loadCertificate
in interface KeyStoreAccessor
certificateDetails
- the information which references an entry in the key storenull
UnrecoverableKeyException
- if the password for the key store and the private key are differentIOException
NoSuchAlgorithmException
KeyStoreException
CertificateException
Copyright © 2002-2019 Atlassian. All Rights Reserved.