SignatureProvider.Sign Method
Produces a signature over the 'input'
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public MustOverride Function Sign ( _
input As Byte() _
) As Byte()
public abstract byte[] Sign(
byte[] input
)
public:
virtual array<unsigned char>^ Sign(
array<unsigned char>^ input
) abstract
abstract Sign :
input:byte[] -> byte[]
public abstract function Sign(
input : byte[]
) : byte[]
Parameters
input
Type: System.Byte[]bytes to sign.
Return Value
Type: System.Byte[]
signed bytes
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.