public class MWInvocationHandlerUtils extends Object
| Constructor and Description |
|---|
MWInvocationHandlerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<MATLABStackFrame> |
convertToMATLABStackFrameList(List<MATLABError.MATLAB_Error.Stack_Frame> protoStack)
Converts a list of protobuf message MATLABError.MATLAB_Error.Stack_Frame into list of MATLABStackFrame
|
static MATLABParams.MATLAB_Params |
createMATLABParams(int nargout,
Object[] inputs,
MWAttributesContainer mwAttributesContainer)
Create MATLABParams protobuf instance.
|
static void |
throwIfServerIsNotAuthorized(Certificate[] serverCerts,
MWSSLConfig sslConfig)
Performs extra level of authorization using the server distinguished name (DN) and user provided
set of authorized common names
|
public static MATLABParams.MATLAB_Params createMATLABParams(int nargout, Object[] inputs, MWAttributesContainer mwAttributesContainer)
public static List<MATLABStackFrame> convertToMATLABStackFrameList(List<MATLABError.MATLAB_Error.Stack_Frame> protoStack)
protoStack - list of protobuf message MATLABError.MATLAB_Error.Stack_Framepublic static void throwIfServerIsNotAuthorized(Certificate[] serverCerts, MWSSLConfig sslConfig) throws SSLException
serverCerts - server certificate chainsslConfig - SSL configuration object that provides set of authorized common namesSSLException - if the extra authorization failsCopyright © 2015–2021. All rights reserved.