iText 5

DigestAlgorithms

DigestAlgorithms Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf.security iTextSharp.text.pdf.security.DigestAlgorithms[[DigestAlgorithms]] end

Members

Methods

Public Static methods

Returns

Name

byte``[]

Digest

(...)

string

GetAllowedDigests

(string name)

string

GetDigest

(string oid)

IDigest

GetMessageDigest

(string hashAlgorithm)

IDigest

GetMessageDigestFromOid

(string digestOid)

Details

Methods

GetMessageDigestFromOid

Source code

public static IDigest GetMessageDigestFromOid(string digestOid)

Arguments

Type

Name

Description

string

digestOid

GetMessageDigest

Source code

public static IDigest GetMessageDigest(string hashAlgorithm)

Arguments

Type

Name

Description

string

hashAlgorithm

Digest [1/6]

Source code

public static byte Digest(Stream data, string hashAlgorithm)

Arguments

Type

Name

Description

Stream

data

string

hashAlgorithm

Digest [2/6]

Source code

public static byte Digest(Stream data, IDigest messageDigest)

Arguments

Type

Name

Description

Stream

data

IDigest

messageDigest

GetDigest

Source code

public static string GetDigest(string oid)

Arguments

Type

Name

Description

string

oid

GetAllowedDigests

Source code

public static string GetAllowedDigests(string name)

Arguments

Type

Name

Description

string

name

Digest [3/6]

Source code

public static byte Digest(string algo, byte[] b, int offset, int len)

Arguments

Type

Name

Description

string

algo

byte``[]

b

int

offset

int

len

Digest [4/6]

Source code

public static byte Digest(string algo, byte[] b)

Arguments

Type

Name

Description

string

algo

byte``[]

b

Digest [5/6]

Source code

public static byte Digest(IDigest d, byte[] b, int offset, int len)

Arguments

Type

Name

Description

IDigest

d

byte``[]

b

int

offset

int

len

Digest [6/6]

Source code

public static byte Digest(IDigest d, byte[] b)

Arguments

Type

Name

Description

IDigest

d

byte``[]

b

Generated with ModularDoc