Export (0) Print
Expand All

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

ADD
Show:
© 2014 Microsoft