Class DefaultCertificateManager
java.lang.Object
org.eclipse.milo.opcua.stack.core.security.DefaultCertificateManager
- All Implemented Interfaces:
CertificateManager
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCertificateManager(CertificateQuarantine certificateQuarantine) DefaultCertificateManager(CertificateQuarantine certificateQuarantine, Collection<CertificateGroup> groups) DefaultCertificateManager(CertificateQuarantine certificateQuarantine, CertificateGroup group) -
Method Summary
Modifier and TypeMethodDescriptiongetCertificate(ByteString thumbprint) Get theX509Certificateidentified bythumbprint.getCertificateChain(ByteString thumbprint) Get theX509Certificateidentified bythumbprintas well as any certificates in its chain.getCertificateGroup(ByteString thumbprint) getCertificateGroup(NodeId certificateGroupId) Get theCertificateGroupidentified bycertificateGroupId.Get theCertificateGroups managed by thisCertificateManager.Get the Server'sCertificateQuarantine.getKeyPair(ByteString thumbprint) Get theKeyPairbelonging to the certificate identified bythumbprint.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.milo.opcua.stack.core.security.CertificateManager
getDefaultApplicationGroup, getDefaultHttpsGroup, getDefaultUserTokenGroup
-
Constructor Details
-
DefaultCertificateManager
-
DefaultCertificateManager
public DefaultCertificateManager(CertificateQuarantine certificateQuarantine, CertificateGroup group) -
DefaultCertificateManager
public DefaultCertificateManager(CertificateQuarantine certificateQuarantine, Collection<CertificateGroup> groups)
-
-
Method Details
-
getKeyPair
Description copied from interface:CertificateManagerGet theKeyPairbelonging to the certificate identified bythumbprint.thumbprintis a SHA1 hash of the encoded certificate.- Specified by:
getKeyPairin interfaceCertificateManager- Parameters:
thumbprint- the thumbprint of the certificate.- Returns:
- the
KeyPairbelonging to the certificate identified bythumbprint.
-
getCertificate
Description copied from interface:CertificateManagerGet theX509Certificateidentified bythumbprint.thumbprintis a SHA1 hash of the encoded certificate.- Specified by:
getCertificatein interfaceCertificateManager- Parameters:
thumbprint- the thumbprint of the certificate.- Returns:
- the
X509Certificateidentified bythumbprint.
-
getCertificateChain
Description copied from interface:CertificateManagerGet theX509Certificateidentified bythumbprintas well as any certificates in its chain.- Specified by:
getCertificateChainin interfaceCertificateManager- Parameters:
thumbprint- the thumbprint of the certificate.- Returns:
- the
X509Certificateidentified bythumbprintas well as any certificates in its chain.
-
getCertificateGroup
Description copied from interface:CertificateManager- Specified by:
getCertificateGroupin interfaceCertificateManager- Parameters:
thumbprint- the thumbprint of the certificate.- Returns:
- the
CertificateGroupcontaining theX509Certificateidentified bythumbprint.
-
getCertificateGroup
Description copied from interface:CertificateManagerGet theCertificateGroupidentified bycertificateGroupId.- Specified by:
getCertificateGroupin interfaceCertificateManager- Parameters:
certificateGroupId- theNodeIdidentifying theCertificateGroup.- Returns:
- the
CertificateGroupidentified bycertificateGroupId.
-
getCertificateGroups
Description copied from interface:CertificateManagerGet theCertificateGroups managed by thisCertificateManager.- Specified by:
getCertificateGroupsin interfaceCertificateManager- Returns:
- the
CertificateGroups managed by thisCertificateManager.
-
getCertificateQuarantine
Description copied from interface:CertificateManagerGet the Server'sCertificateQuarantine.- Specified by:
getCertificateQuarantinein interfaceCertificateManager- Returns:
- the Server's
CertificateQuarantine.
-