Certificate.GetHashValue Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
GetHashValue() |
Obtiene el valor hash SHA1 para el certificado. |
GetHashValue(String) |
Obtiene el valor hash del certificado para un algoritmo especificado. |
GetHashValue()
Obtiene el valor hash SHA1 para el certificado.
public:
virtual Platform::Array <byte> ^ GetHashValue() = GetHashValue;
/// [Windows.Foundation.Metadata.Overload("GetHashValue")]
winrt::array_view <byte> GetHashValue();
[Windows.Foundation.Metadata.Overload("GetHashValue")]
public byte[] GetHashValue();
function getHashValue()
Public Function GetHashValue () As Byte()
Devoluciones
Byte[]
byte[]
Valor hash SHA1 para el certificado.
- Atributos
Consulte también
Se aplica a
GetHashValue(String)
Obtiene el valor hash del certificado para un algoritmo especificado.
public:
virtual Platform::Array <byte> ^ GetHashValue(Platform::String ^ hashAlgorithmName) = GetHashValue;
/// [Windows.Foundation.Metadata.Overload("GetHashValueWithAlgorithm")]
winrt::array_view <byte> GetHashValue(winrt::hstring const& hashAlgorithmName);
[Windows.Foundation.Metadata.Overload("GetHashValueWithAlgorithm")]
public byte[] GetHashValue(string hashAlgorithmName);
function getHashValue(hashAlgorithmName)
Public Function GetHashValue (hashAlgorithmName As String) As Byte()
Parámetros
- hashAlgorithmName
-
String
Platform::String
winrt::hstring
Algoritmo hash que se va a usar para el valor hash del certificado. Solo se admiten valores de "SHA1" o "SHA256". Para obtener el valor hash SHA2 del certificado, especifique "SHA256".
Devoluciones
Byte[]
byte[]
Valor hash del certificado.
- Atributos
Consulte también
Se aplica a
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de