C# 클래스 StopGuessing.EncryptionPrimitives.EcEncryptedMessageAesCbcHmacSha256

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Decrypt ( System.Security.Cryptography.ECDiffieHellmanCng recipientsPrivateEcKey ) : byte[]

Decrypt the message by providing the recipient's private EC key.

Decrypt ( Encryption recipientsPrivateEcKey ) : byte[]

Decrypt the message by providing the recipient's private EC key.

Decrypt ( byte ecPrivateKey ) : byte[]
EcEncryptedMessageAesCbcHmacSha256 ( ) : System
EcEncryptedMessageAesCbcHmacSha256 ( System.Security.Cryptography.ECDiffieHellmanPublicKey recipientsEcPublicKey, byte plaintextMessageAsByteArray ) : System

Creates an encrypted message

EcEncryptedMessageAesCbcHmacSha256 ( byte plaintextMessageAsByteArray, Encryption recipientsPublicKey = null ) : System

Creates an encrypted message

메소드 상세

Decrypt() 공개 메소드

Decrypt the message by providing the recipient's private EC key.
public Decrypt ( System.Security.Cryptography.ECDiffieHellmanCng recipientsPrivateEcKey ) : byte[]
recipientsPrivateEcKey System.Security.Cryptography.ECDiffieHellmanCng The private EC key matching the public key provided for encryption.
리턴 byte[]

Decrypt() 공개 메소드

Decrypt the message by providing the recipient's private EC key.
public Decrypt ( Encryption recipientsPrivateEcKey ) : byte[]
recipientsPrivateEcKey Encryption The private EC key matching the public key provided for encryption.
리턴 byte[]

Decrypt() 공개 메소드

public Decrypt ( byte ecPrivateKey ) : byte[]
ecPrivateKey byte
리턴 byte[]

EcEncryptedMessageAesCbcHmacSha256() 공개 메소드

public EcEncryptedMessageAesCbcHmacSha256 ( ) : System
리턴 System

EcEncryptedMessageAesCbcHmacSha256() 공개 메소드

Creates an encrypted message
public EcEncryptedMessageAesCbcHmacSha256 ( System.Security.Cryptography.ECDiffieHellmanPublicKey recipientsEcPublicKey, byte plaintextMessageAsByteArray ) : System
recipientsEcPublicKey System.Security.Cryptography.ECDiffieHellmanPublicKey The public portion of the message recpient's EC key.
plaintextMessageAsByteArray byte The message to encrypt.
리턴 System

EcEncryptedMessageAesCbcHmacSha256() 공개 메소드

Creates an encrypted message
public EcEncryptedMessageAesCbcHmacSha256 ( byte plaintextMessageAsByteArray, Encryption recipientsPublicKey = null ) : System
plaintextMessageAsByteArray byte The message to encrypt.
recipientsPublicKey Encryption The public portion of the message recpient's assymetric key.
리턴 System