Package io.jans.fido2.service.mds
Class AttestationCertificateService
- java.lang.Object
-
- io.jans.fido2.service.mds.AttestationCertificateService
-
@ApplicationScoped public class AttestationCertificateService extends Object
- Version:
- May 08, 2020
- Author:
- Yuriy Movchan
-
-
Constructor Summary
Constructors Constructor Description AttestationCertificateService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<X509Certificate>
getAttestationRootCertificates(com.fasterxml.jackson.databind.JsonNode metadataNode, List<X509Certificate> attestationCertificates)
List<X509Certificate>
getAttestationRootCertificates(AuthData authData, List<X509Certificate> attestationCertificates)
List<X509Certificate>
getRootCertificatesBySubjectDN(String subjectDN)
Get root certificates by subjectDNvoid
init(Object init)
X509TrustManager
populateTrustManager(AuthData authData, List<X509Certificate> attestationCertificates)
-
-
-
Method Detail
-
init
public void init(@Observes @ApplicationInitialized(jakarta.enterprise.context.ApplicationScoped.class) Object init)
-
getAttestationRootCertificates
public List<X509Certificate> getAttestationRootCertificates(com.fasterxml.jackson.databind.JsonNode metadataNode, List<X509Certificate> attestationCertificates)
-
getAttestationRootCertificates
public List<X509Certificate> getAttestationRootCertificates(AuthData authData, List<X509Certificate> attestationCertificates)
-
populateTrustManager
public X509TrustManager populateTrustManager(AuthData authData, List<X509Certificate> attestationCertificates)
-
getRootCertificatesBySubjectDN
public List<X509Certificate> getRootCertificatesBySubjectDN(String subjectDN)
Get root certificates by subjectDN- Parameters:
subjectDN
- subjectDN- Returns:
- List with certificates or empty
-
-