C# Class Mono.Security.X509.X509Certificate.X509Certificate.X509Certificate

Show file Open project: runefs/Marvin

Public Methods

Method Description
CheckSignature ( byte hash, string hashAlgorithm, byte signature ) : bool
GetIssuerName ( ) : ASN1
GetSubjectName ( ) : ASN1
VerifySignature ( AsymmetricAlgorithm aa ) : bool
WasCurrent ( System.DateTime instant ) : bool
X509Certificate ( byte data ) : System

Protected Methods

Method Description
X509Certificate ( SerializationInfo info, StreamingContext context ) : System

Private Methods

Method Description
GetHashNameFromOID ( string oid ) : string
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetUnsignedBigInteger ( byte integer ) : byte[]
PEM ( string type, byte data ) : byte[]
Parse ( byte data ) : void
VerifySignature ( DSA dsa ) : bool
VerifySignature ( RSA rsa ) : bool

Method Details

CheckSignature() public method

public CheckSignature ( byte hash, string hashAlgorithm, byte signature ) : bool
hash byte
hashAlgorithm string
signature byte
return bool

GetIssuerName() public method

public GetIssuerName ( ) : ASN1
return ASN1

GetSubjectName() public method

public GetSubjectName ( ) : ASN1
return ASN1

VerifySignature() public method

public VerifySignature ( AsymmetricAlgorithm aa ) : bool
aa System.Security.Cryptography.AsymmetricAlgorithm
return bool

WasCurrent() public method

public WasCurrent ( System.DateTime instant ) : bool
instant System.DateTime
return bool

X509Certificate() protected method

protected X509Certificate ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

X509Certificate() public method

public X509Certificate ( byte data ) : System
data byte
return System