Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

X509SubjectKeyIdentifierHashAlgorithm Enumeration

Defines the type of hash algorithm to use with the X509SubjectKeyIdentifierExtension class.

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System (in system.dll)

public enum X509SubjectKeyIdentifierHashAlgorithm
public enum X509SubjectKeyIdentifierHashAlgorithm
public enum X509SubjectKeyIdentifierHashAlgorithm

 Member nameDescription
CapiSha1The subject key identifier (SKI) is composed of a 160-bit SHA-1 hash of the encoded public key (including the tag, length, and number of unused bits). 
Sha1The SKI is composed of the 160-bit SHA-1 hash of the value of the public key (excluding the tag, length, and number of unused bits). 
ShortSha1The SKI is composed of a four-bit type field with the value 0100, followed by the least significant 60 bits of the SHA-1 hash of the value of the public key (excluding the tag, length, and number of unused bit string bits) 

The subject key identifier (SKI) provides a unique identification for a certificate's subject when working with XML digital signing. An SKI is an SHA-1 hash of the subject's public key information.

Use the X509SubjectKeyIdentifierHashAlgorithm enumeration to define the type of hash algorithm to use with the X509SubjectKeyIdentifierExtension class when creating an SKI.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

Show:
© 2017 Microsoft