C# Class IdentityAdmin.Configuration.X509CertificateTicketDataProtector

X.509 certificate based data protector
Inheritance: IDataProtector
ファイルを表示 Open project: IdentityServer/IdentityServer3.Admin

Public Methods

Method Description
Protect ( byte data ) : byte[]

Protects the specified data.

Unprotect ( byte data ) : byte[]

Unprotects the specified data.

X509CertificateTicketDataProtector ( X509Certificate2 certificate ) : System.Security.Cryptography

Initializes a new instance of the X509CertificateTicketDataProtector class.

Method Details

Protect() public method

Protects the specified data.
public Protect ( byte data ) : byte[]
data byte The data.
return byte[]

Unprotect() public method

Unprotects the specified data.
public Unprotect ( byte data ) : byte[]
data byte The data.
return byte[]

X509CertificateTicketDataProtector() public method

Initializes a new instance of the X509CertificateTicketDataProtector class.
public X509CertificateTicketDataProtector ( X509Certificate2 certificate ) : System.Security.Cryptography
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 The certificate.
return System.Security.Cryptography