RSAPKCS1SignatureDeformatter Class

RSAPKCS1SignatureDeformatter Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Verifies an RSA PKCS #1 version 1.5 signature.

System.Object
  System.Security.Cryptography.AsymmetricSignatureDeformatter
    System.Security.Cryptography.RSAPKCS1SignatureDeformatter

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public class RSAPKCS1SignatureDeformatter : AsymmetricSignatureDeformatter

The RSAPKCS1SignatureDeformatter type exposes the following members.

  NameDescription
Public methodRSAPKCS1SignatureDeformatter()Initializes a new instance of the RSAPKCS1SignatureDeformatter class.
Public methodRSAPKCS1SignatureDeformatter(AsymmetricAlgorithm)Initializes a new instance of the RSAPKCS1SignatureDeformatter class with the specified key.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetHashAlgorithmSets the hash algorithm to use for verifying the signature. (Overrides AsymmetricSignatureDeformatter.SetHashAlgorithm(String).)
Public methodSetKeySets the public key to use for verifying the signature. (Overrides AsymmetricSignatureDeformatter.SetKey(AsymmetricAlgorithm).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodVerifySignature(Byte[], Byte[])Verifies the RSA PKCS#1 signature for the specified data. (Overrides AsymmetricSignatureDeformatter.VerifySignature(Byte[], Byte[]).)
Public methodVerifySignature(HashAlgorithm, Byte[])Verifies the signature from the specified hash value. (Inherited from AsymmetricSignatureDeformatter.)
Top

This class is used to verify a digital signature made with the RSA algorithm.

Use RSAPKCS1SignatureFormatter to create digital signatures with the RSA algorithm.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

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

Show:
© 2017 Microsoft