C# 클래스 IronPigeon.OwnEndpoint

파일 보기 프로젝트 열기: AArnott/IronPigeon 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CreateAddressBookEntry ( CryptoSettings cryptoServices ) : AddressBookEntry

Creates a signed address book entry that describes the public information in this endpoint.

OpenAsync ( Stream stream ) : Task

Loads endpoint information including private data from the specified stream.

OwnEndpoint ( ) : System

Initializes a new instance of the OwnEndpoint class.

OwnEndpoint ( ICryptographicKey signingKey, ICryptographicKey encryptionKey, string inboxOwnerCode = null ) : System

Initializes a new instance of the OwnEndpoint class.

SaveAsync ( Stream target, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Saves the receiving endpoint including private data to the specified stream.

메소드 상세

CreateAddressBookEntry() 공개 메소드

Creates a signed address book entry that describes the public information in this endpoint.
public CreateAddressBookEntry ( CryptoSettings cryptoServices ) : AddressBookEntry
cryptoServices CryptoSettings The crypto services to use for signing the address book entry.
리턴 AddressBookEntry

OpenAsync() 공개 정적인 메소드

Loads endpoint information including private data from the specified stream.
public static OpenAsync ( Stream stream ) : Task
stream Stream A stream, previously serialized to using .
리턴 Task

OwnEndpoint() 공개 메소드

Initializes a new instance of the OwnEndpoint class.
public OwnEndpoint ( ) : System
리턴 System

OwnEndpoint() 공개 메소드

Initializes a new instance of the OwnEndpoint class.
public OwnEndpoint ( ICryptographicKey signingKey, ICryptographicKey encryptionKey, string inboxOwnerCode = null ) : System
signingKey ICryptographicKey The signing key.
encryptionKey ICryptographicKey The encryption key.
inboxOwnerCode string The secret that proves ownership of the inbox at the .
리턴 System

SaveAsync() 공개 메소드

Saves the receiving endpoint including private data to the specified stream.
public SaveAsync ( Stream target, CancellationToken cancellationToken = default(CancellationToken) ) : Task
target Stream The stream to write to.
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task