Show / Hide Table of Contents
Editar no GitHub

Class DigestAlgorithm

Inheritance
Object
DigestAlgorithm
Inherited Members
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki.dll
Syntax
public abstract class DigestAlgorithm

Fields

| Improve this Doc View Source

MD5

Declaration
public static readonly DigestAlgorithm MD5
Field Value
Type Description
DigestAlgorithm
| Improve this Doc View Source

SHA1

Declaration
public static readonly DigestAlgorithm SHA1
Field Value
Type Description
DigestAlgorithm
| Improve this Doc View Source

SHA256

Declaration
public static readonly DigestAlgorithm SHA256
Field Value
Type Description
DigestAlgorithm
| Improve this Doc View Source

SHA384

Declaration
public static readonly DigestAlgorithm SHA384
Field Value
Type Description
DigestAlgorithm
| Improve this Doc View Source

SHA512

Declaration
public static readonly DigestAlgorithm SHA512
Field Value
Type Description
DigestAlgorithm

Properties

| Improve this Doc View Source

ByteLength

Declaration
public abstract int ByteLength { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Name

Declaration
public abstract string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Oid

Declaration
public abstract string Oid { get; }
Property Value
Type Description
String
| Improve this Doc View Source

XmlUri

Declaration
public abstract string XmlUri { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

CheckLength(Byte[])

Declaration
public void CheckLength(byte[] digestValue)
Parameters
Type Name Description
Byte[] digestValue
| Improve this Doc View Source

ComputeHash(Byte[])

Declaration
public byte[] ComputeHash(byte[] buffer)
Parameters
Type Name Description
Byte[] buffer
Returns
Type Description
Byte[]
| Improve this Doc View Source

ComputeHash(Byte[], Int32, Int32)

Declaration
public byte[] ComputeHash(byte[] buffer, int offset, int count)
Parameters
Type Name Description
Byte[] buffer
Int32 offset
Int32 count
Returns
Type Description
Byte[]
| Improve this Doc View Source

ComputeHash(Stream)

Declaration
public byte[] ComputeHash(Stream inputStream)
Parameters
Type Name Description
Stream inputStream
Returns
Type Description
Byte[]
| Improve this Doc View Source

Equals(DigestAlgorithm)

Declaration
public bool Equals(DigestAlgorithm other)
Parameters
Type Name Description
DigestAlgorithm other
Returns
Type Description
Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)
| Improve this Doc View Source

GetCsp()

Declaration
public abstract HashAlgorithm GetCsp()
Returns
Type Description
HashAlgorithm
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()
| Improve this Doc View Source

GetInstanceByName(String)

Declaration
public static DigestAlgorithm GetInstanceByName(string name)
Parameters
Type Name Description
String name
Returns
Type Description
DigestAlgorithm
| Improve this Doc View Source

GetInstanceByOid(String)

Declaration
public static DigestAlgorithm GetInstanceByOid(string oid)
Parameters
Type Name Description
String oid
Returns
Type Description
DigestAlgorithm
| Improve this Doc View Source

GetInstanceByXmlUri(String)

Declaration
public static DigestAlgorithm GetInstanceByXmlUri(string xmlUri)
Parameters
Type Name Description
String xmlUri
Returns
Type Description
DigestAlgorithm
| Improve this Doc View Source

TryGetInstanceByName(String, out DigestAlgorithm)

Declaration
public static bool TryGetInstanceByName(string name, out DigestAlgorithm alg)
Parameters
Type Name Description
String name
DigestAlgorithm alg
Returns
Type Description
Boolean
| Improve this Doc View Source

TryGetInstanceByOid(String, out DigestAlgorithm)

Declaration
public static bool TryGetInstanceByOid(string oid, out DigestAlgorithm alg)
Parameters
Type Name Description
String oid
DigestAlgorithm alg
Returns
Type Description
Boolean

Operators

| Improve this Doc View Source

Equality(DigestAlgorithm, DigestAlgorithm)

Declaration
public static bool operator ==(DigestAlgorithm a, DigestAlgorithm b)
Parameters
Type Name Description
DigestAlgorithm a
DigestAlgorithm b
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(DigestAlgorithm, DigestAlgorithm)

Declaration
public static bool operator !=(DigestAlgorithm a, DigestAlgorithm b)
Parameters
Type Name Description
DigestAlgorithm a
DigestAlgorithm b
Returns
Type Description
Boolean
Back to top Copyright © 2015-2020 Lacuna Software