Class CertificateGroupNode

    • Constructor Detail

      • CertificateGroupNode

        public CertificateGroupNode​(UaClient client,
                                    com.plccom.opc.ua.builtintypes.NodeId nodeId)
        default constructor for CertificateGroupNode instances
        Parameters:
        client - the client instance
        nodeId - the based nodeid
    • Method Detail

      • trustList

        public TrustListNode trustList()
                                throws com.plccom.opc.ua.common.ServiceFaultException,
                                       com.plccom.opc.ua.common.ServiceResultException
        Returns the TrustList component node of this certificate group.
        Returns:
        the TrustList node
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getCertificateTypes

        public com.plccom.opc.ua.builtintypes.NodeId[] getCertificateTypes()
                                                                    throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                           com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute CERTIFICATE_TYPES from cache or directly from connected ua server
        Returns:
        the CERTIFICATE_TYPES attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setCertificateTypes

        public com.plccom.opc.ua.builtintypes.StatusCode setCertificateTypes​(com.plccom.opc.ua.builtintypes.NodeId[] value)
                                                                      throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute CERTIFICATE_TYPES of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the CERTIFICATE_TYPES attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error