Verifies the signature.
Namespace: Microsoft.IdentityModel.Web
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As RsaSignatureCookieTransform
Dim encoded As Byte()
Dim returnValue As Byte()

returnValue = instance.Decode(encoded)

Syntax

Visual Basic
Public Overrides Function Decode ( _
		encoded As Byte() _
) As Byte()
C#
public override byte[] Decode (
		byte[] encoded
)
C++
public:
virtual array<unsigned char>^ Decode (
		array<unsigned char>^ encoded
) override
J#
public byte[] Decode (
		byte[] encoded
)
JScript
public override function Decode (
		encoded : byte[]
) : byte[]

Parameters

encoded

Data previously returned from Encode

Return Value

The originally signed data

Exceptions

Exception type Condition
CryptographicException

The signature is invalid

FormatException

The data is in the wrong format

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also