Class TrustStoreCertificateVerifier
- java.lang.Object
-
- org.apache.plc4x.java.opcua.security.TrustStoreCertificateVerifier
-
- All Implemented Interfaces:
CertificateVerifier
public class TrustStoreCertificateVerifier extends Object implements CertificateVerifier
-
-
Constructor Summary
Constructors Constructor Description TrustStoreCertificateVerifier(KeyStore trustStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckCertificateTrusted(X509Certificate certificate)
-
-
-
Constructor Detail
-
TrustStoreCertificateVerifier
public TrustStoreCertificateVerifier(KeyStore trustStore) throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
-
Method Detail
-
checkCertificateTrusted
public void checkCertificateTrusted(X509Certificate certificate) throws CertificateException
- Specified by:
checkCertificateTrustedin interfaceCertificateVerifier- Throws:
CertificateException
-
-