1using System.Security.Cryptography;
59 object Obj =
Arguments[0].AssociatedObjectValue;
63 else if (Obj is RSAParameters Parameters)
65 else if (Obj is
double NrBits)
68 throw new ScriptRuntimeException(
"Expected argument to be an RSA object, RSAParameters object, or a number of bits.",
this);
Script runtime exception.
Class managing a script expression.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
static readonly ArgumentType[] argumentTypes0
Zero parameters.
static readonly ArgumentType[] argumentTypes1Scalar
One scalar parameter.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
Creates an RSASSA-PKCS1-v1_5 SHA-256 JSON Web Signature key.
RS256(int Start, int Length, Expression Expression)
Creates an RSASSA-PKCS1-v1_5 SHA-256 JSON Web Signature key.
override string[] DefaultArgumentNames
Default Argument names
RS256(ScriptNode Rsa, int Start, int Length, Expression Expression)
Creates an RSASSA-PKCS1-v1_5 SHA-256 JSON Web Signature key.
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
override string FunctionName
Name of the function
RSASSA-PKCS1-v1_5 SHA-256 algorithm. https://tools.ietf.org/html/rfc3447#page-32
Basic interface for all types of elements.