GetKeyAlgorithm Method

X509Certificate.GetKeyAlgorithm Method

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

Returns the key algorithm information for this X.509 version 3 certificate.

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

public virtual string GetKeyAlgorithm()

Return Value

Type: System.String
The key algorithm information for this X.509 certificate as a string.

ExceptionCondition
CryptographicException

The certificate context is invalid.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft