public abstract class UpdateCertificateMethod extends AbstractMethodInvocationHandler
AbstractMethodInvocationHandler.InvocationContextMethodInvocationHandler.NodeIdUnknownHandler, MethodInvocationHandler.NotImplementedHandler| Modifier and Type | Field and Description |
|---|---|
static Argument |
APPLY_CHANGES_REQUIRED |
static Argument |
CERTIFICATE |
static Argument |
CERTIFICATE_GROUP_ID |
static Argument |
CERTIFICATE_TYPE_ID |
static Argument |
ISSUER_CERTIFICATES |
static Argument |
PRIVATE_KEY |
static Argument |
PRIVATE_KEY_FORMAT |
NODE_ID_UNKNOWN, NOT_IMPLEMENTED| Constructor and Description |
|---|
UpdateCertificateMethod(UaMethodNode node) |
| Modifier and Type | Method and Description |
|---|---|
Argument[] |
getInputArguments()
Get the input
Arguments expected by the Method this handler is installed on. |
Argument[] |
getOutputArguments()
Get the output
Arguments expected by the Method this handler is installed on. |
protected abstract void |
invoke(AbstractMethodInvocationHandler.InvocationContext context,
NodeId certificateGroupId,
NodeId certificateTypeId,
ByteString certificate,
ByteString[] issuerCertificates,
String privateKeyFormat,
ByteString privateKey,
Out<Boolean> applyChangesRequired) |
protected Variant[] |
invoke(AbstractMethodInvocationHandler.InvocationContext context,
Variant[] inputValues)
Invoke this method and return the values for its output arguments, if any.
|
checkExecutableAttributes, getNode, invoke, validateInputArgumentValuespublic static final Argument CERTIFICATE_GROUP_ID
public static final Argument CERTIFICATE_TYPE_ID
public static final Argument CERTIFICATE
public static final Argument ISSUER_CERTIFICATES
public static final Argument PRIVATE_KEY_FORMAT
public static final Argument PRIVATE_KEY
public static final Argument APPLY_CHANGES_REQUIRED
public UpdateCertificateMethod(UaMethodNode node)
public Argument[] getInputArguments()
AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.getInputArguments in class AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.public Argument[] getOutputArguments()
AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.getOutputArguments in class AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.protected Variant[] invoke(AbstractMethodInvocationHandler.InvocationContext context, Variant[] inputValues) throws UaException
AbstractMethodInvocationHandlerThe Executable and UserExecutable attributes have already been checked to ensure this method is allowed to execute.
invoke in class AbstractMethodInvocationHandlercontext - the AbstractMethodInvocationHandler.InvocationContext.inputValues - the user-supplied values for the input arguments. Each value has been verified to be of
the type specified by its Argument.UaException - if invocation has failed for some reason.protected abstract void invoke(AbstractMethodInvocationHandler.InvocationContext context, NodeId certificateGroupId, NodeId certificateTypeId, ByteString certificate, ByteString[] issuerCertificates, String privateKeyFormat, ByteString privateKey, Out<Boolean> applyChangesRequired) throws UaException
UaExceptionCopyright © 2021. All rights reserved.