C# Class Mono.Security.StrongName

Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Méthodes publiques

Méthode Description
GetBytes ( ) : byte[]
Hash ( string fileName ) : byte[]
IsAssemblyStrongnamed ( string assemblyName ) : bool
Sign ( string fileName ) : bool
StrongName ( ) : System
StrongName ( RSA rsa ) : System
StrongName ( byte data ) : System
StrongName ( int keySize ) : System
Verify ( Stream stream ) : bool
Verify ( string fileName ) : bool
VerifySignature ( byte publicKey, int algorithm, byte hash, byte signature ) : bool

Private Methods

Méthode Description
InvalidateCache ( ) : void
RVAtoPosition ( UInt32 r, int sections, byte headers ) : UInt32
StrongHash ( Stream stream, StrongNameOptions options ) : StrongNameSignature
Verify ( RSA rsa, AssemblyHashAlgorithm algorithm, byte hash, byte signature ) : bool

Method Details

GetBytes() public méthode

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

Hash() public méthode

public Hash ( string fileName ) : byte[]
fileName string
Résultat byte[]

IsAssemblyStrongnamed() static public méthode

static public IsAssemblyStrongnamed ( string assemblyName ) : bool
assemblyName string
Résultat bool

Sign() public méthode

public Sign ( string fileName ) : bool
fileName string
Résultat bool

StrongName() public méthode

public StrongName ( ) : System
Résultat System

StrongName() public méthode

public StrongName ( RSA rsa ) : System
rsa RSA
Résultat System

StrongName() public méthode

public StrongName ( byte data ) : System
data byte
Résultat System

StrongName() public méthode

public StrongName ( int keySize ) : System
keySize int
Résultat System

Verify() public méthode

public Verify ( Stream stream ) : bool
stream Stream
Résultat bool

Verify() public méthode

public Verify ( string fileName ) : bool
fileName string
Résultat bool

VerifySignature() static public méthode

static public VerifySignature ( byte publicKey, int algorithm, byte hash, byte signature ) : bool
publicKey byte
algorithm int
hash byte
signature byte
Résultat bool