C# Class CertificatesToDBandBack.Helpers

ファイルを表示 Open project: RELOAD-NET/RELOAD.NET

Public Methods

Method Description
AlignBytes ( byte inputBytes, int alignSize ) : byte[]

DecodeIntegerSize ( System rd ) : int

This helper function parses an integer size from the reader using the ASN.1 format

GetBytesFromPEM ( string pemString, PemStringType type ) : byte[]

Method Details

AlignBytes() public static method

public static AlignBytes ( byte inputBytes, int alignSize ) : byte[]
inputBytes byte
alignSize int
return byte[]

DecodeIntegerSize() public static method

This helper function parses an integer size from the reader using the ASN.1 format
public static DecodeIntegerSize ( System rd ) : int
rd System
return int

GetBytesFromPEM() public static method

public static GetBytesFromPEM ( string pemString, PemStringType type ) : byte[]
pemString string
type PemStringType
return byte[]