C# Class HermaFx.Cryptography.ASN1

Afficher le fichier Open project: evicertia/HermaFx Class Usage Examples

Méthodes publiques

Méthode Description
ASN1 ( ) : System
ASN1 ( byte tag ) : System
ASN1 ( byte tag, byte data ) : System
Add ( ASN1 asn1 ) : ASN1
CompareValue ( byte value ) : bool
Element ( int index, byte anTag ) : ASN1
Equals ( byte asn1 ) : bool
GetBytes ( ) : byte[]
SaveToFile ( string filename ) : void
ToString ( ) : string
this ( int index ) : ASN1

Méthodes protégées

Méthode Description
Decode ( byte asn1, int &anPos, int anLength ) : void
DecodeTLV ( byte asn1, int &pos, byte &tag, int &length, byte &content ) : void

Private Methods

Méthode Description
CompareArray ( byte array1, byte array2 ) : bool

Method Details

ASN1() public méthode

public ASN1 ( ) : System
Résultat System

ASN1() public méthode

public ASN1 ( byte tag ) : System
tag byte
Résultat System

ASN1() public méthode

public ASN1 ( byte tag, byte data ) : System
tag byte
data byte
Résultat System

Add() public méthode

public Add ( ASN1 asn1 ) : ASN1
asn1 ASN1
Résultat ASN1

CompareValue() public méthode

public CompareValue ( byte value ) : bool
value byte
Résultat bool

Decode() protected méthode

protected Decode ( byte asn1, int &anPos, int anLength ) : void
asn1 byte
anPos int
anLength int
Résultat void

DecodeTLV() protected méthode

protected DecodeTLV ( byte asn1, int &pos, byte &tag, int &length, byte &content ) : void
asn1 byte
pos int
tag byte
length int
content byte
Résultat void

Element() public méthode

public Element ( int index, byte anTag ) : ASN1
index int
anTag byte
Résultat ASN1

Equals() public méthode

public Equals ( byte asn1 ) : bool
asn1 byte
Résultat bool

GetBytes() public méthode

public GetBytes ( ) : byte[]
Résultat byte[]

SaveToFile() public méthode

public SaveToFile ( string filename ) : void
filename string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

this() public méthode

public this ( int index ) : ASN1
index int
Résultat ASN1