C# 클래스 TSystems.RELOAD.Transport.SecurityBlock

The third part of a RELOAD message is the security block. The security block is represented by a SecurityBlock structure see base -19 p.52
파일 보기 프로젝트 열기: RELOAD-NET/RELOAD.NET 1 사용 예제들

공개 메소드들

메소드 설명
Dump ( BinaryWriter writer ) : UInt16

Dumps the security block to byte stream.

FromReader ( BinaryReader reader, long reloadMsgSize ) : SecurityBlock

Deserializes the security block from bytes.

SecurityBlock ( ReloadConfig rc ) : System

Default constructor. Use it as receiver of a request.

SecurityBlock ( ReloadConfig rc, SignerIdentity myIdentity ) : System

Creates a new Security Block for ordinary messages

SecurityBlock ( ReloadConfig rc, SignerIdentity myIdentity, List certs ) : System

Creates a new Security Block for data transporting messages

SignMessage ( UInt32 overlay, string transId, RELOAD_MessageBody body ) : void

This method signs a message content contained within the stream.

메소드 상세

Dump() 공개 메소드

Dumps the security block to byte stream.
public Dump ( BinaryWriter writer ) : UInt16
writer System.IO.BinaryWriter
리턴 System.UInt16

FromReader() 공개 메소드

Deserializes the security block from bytes.
public FromReader ( BinaryReader reader, long reloadMsgSize ) : SecurityBlock
reader System.IO.BinaryReader
reloadMsgSize long
리턴 SecurityBlock

SecurityBlock() 공개 메소드

Default constructor. Use it as receiver of a request.
public SecurityBlock ( ReloadConfig rc ) : System
rc ReloadConfig
리턴 System

SecurityBlock() 공개 메소드

Creates a new Security Block for ordinary messages
public SecurityBlock ( ReloadConfig rc, SignerIdentity myIdentity ) : System
rc ReloadConfig
myIdentity TSystems.RELOAD.Topology.SignerIdentity
리턴 System

SecurityBlock() 공개 메소드

Creates a new Security Block for data transporting messages
public SecurityBlock ( ReloadConfig rc, SignerIdentity myIdentity, List certs ) : System
rc ReloadConfig
myIdentity TSystems.RELOAD.Topology.SignerIdentity
certs List X.509 PKCs for validation data
리턴 System

SignMessage() 공개 메소드

This method signs a message content contained within the stream.
public SignMessage ( UInt32 overlay, string transId, RELOAD_MessageBody body ) : void
overlay System.UInt32
transId string The transaction Id used for signing
body RELOAD_MessageBody
리턴 void