C# 클래스 Brunet.Security.UserRevocationMessage

A revocation message creator and parser.
Stores the user's name, a current time stamp, and a random number hashed together using SHA1 and signed by an RSA key.
상속: ICopyable
파일 보기 프로젝트 열기: pstjuste/brunet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Hash byte[]
Signature byte[]
Username string

보호된 프로퍼티들

프로퍼티 타입 설명
_data Brunet.Util.MemBlock

공개 메소드들

메소드 설명
CopyTo ( byte dst, int offset ) : int
UserRevocationMessage ( Certificate cacert, MemBlock data ) : Brunet.Messaging

Parse a revocation message.

UserRevocationMessage ( RSACryptoServiceProvider private_key, string username ) : Brunet.Messaging

Create a new revocation message.

메소드 상세

CopyTo() 공개 메소드

public CopyTo ( byte dst, int offset ) : int
dst byte
offset int
리턴 int

UserRevocationMessage() 공개 메소드

Parse a revocation message.
public UserRevocationMessage ( Certificate cacert, MemBlock data ) : Brunet.Messaging
cacert Certificate
data Brunet.Util.MemBlock
리턴 Brunet.Messaging

UserRevocationMessage() 공개 메소드

Create a new revocation message.
public UserRevocationMessage ( RSACryptoServiceProvider private_key, string username ) : Brunet.Messaging
private_key System.Security.Cryptography.RSACryptoServiceProvider
username string
리턴 Brunet.Messaging

프로퍼티 상세

Hash 공개적으로 프로퍼티

public byte[] Hash
리턴 byte[]

Signature 공개적으로 프로퍼티

public byte[] Signature
리턴 byte[]

Username 공개적으로 프로퍼티

public string Username
리턴 string

_data 보호되어 있는 프로퍼티

protected MemBlock,Brunet.Util _data
리턴 Brunet.Util.MemBlock