다음을 통해 공유


Reference Class

Definition

Represents a XmlDsig Reference element as per: https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-Reference

public class Reference : Microsoft.IdentityModel.Xml.DSigElement
type Reference = class
    inherit DSigElement
Public Class Reference
Inherits DSigElement
Inheritance
Reference

Constructors

Reference()

Initializes an instance of Reference

Reference(Transform, CanonicalizingTransfrom)

Initializes an instance of Reference

Properties

CanonicalizingTransfrom

Gets or sets the CanonicalizingTransform

DigestMethod

Gets or sets the DigestMethod to use when creating the hash.

DigestValue

Gets or sets the Base64 encoding of the hashed octets.

Id

Gets or sets the Id.

(Inherited from DSigElement)
Prefix

Gets or sets the prefix associated with the element.

(Inherited from DSigElement)
TokenStream

Gets or sets the XmlTokenStream that is associated with the DigestValue.

Transforms

Gets the IList<T> of transforms to apply.

Type

Gets or sets the Type of this Reference.

Uri

Gets or sets the Uri of this Reference.

Methods

ComputeDigest(CryptoProviderFactory)

Computes the digest of this reference by applying the transforms over the tokenStream.

Verify(CryptoProviderFactory)

Verifies that the DigestValue equals the hashed value of the TokenStream after Transforms have been applied.

Applies to