Partager via


DIGEST

[The AD RMS SDK uses functionality exposed by the client in Msdrm.dll, and is available for use in Windows Server 2008, Windows Vista, Windows Server 2008 R2, Windows 7, Windows Server 2012, and Windows 8. It may be altered or unavailable in subsequent versions of Windows. Instead, use the Active Directory Rights Management Services SDK 2.1, which uses functionality exposed by the client in Msipc.dll.]

Contains a hash of the BODY element in an Active Directory Rights Management Services (AD RMS) license or certificate. This element has the following definition.

<!ELEMENT DIGEST (ALGORITHM?,
                  PARAMETER*,
                  VALUE?)>
<!ATTLIST DIGEST
  sourcedata CDATA #IMPLIED
  type CDATA #IMPLIED>

<!ELEMENT ALGORITHM (#PCDATA)>

<!ELEMENT PARAMETER (VALUE)>
<!ATTLIST PARAMETER
  name CDATA #REQUIRED
  characteristic (fixed | variable) "fixed">

Remarks

The ALGORITHM element specifies the name of the hashing algorithm. AD RMS currently uses SHA1 for hashing. The PARAMETER element specifies additional information about the digest, and the VALUE element contains the hash value. These elements are shown in the following example from an AD RMS license. To improve readability, the ellipsis (...) punctuation symbol replaces long values.

<SIGNATURE>
  <DIGEST>
    <ALGORITHM>SHA1</ALGORITHM>
    <PARAMETER name="codingtype">
      <VALUE encoding="string">surfacecoding</VALUE>
    </PARAMETER>
    <VALUE encoding="base64" size="160">...</VALUE>
  </DIGEST>
  <ALGORITHM>RSA PKCS#1V1.5</ALGORITHM>
  <VALUE encoding="base64" size="1024">...</VALUE>
</SIGNATURE>

Requirements

Product
Rights Management Services client 1.0 or later

See also

SIGNATURE