C# 클래스 CCNet.Build.Common.SecureConfig

Helps storing sensitive data in a secure way.
파일 보기 프로젝트 열기: shuruev/CCNet.Extensions

공개 메소드들

메소드 설명
Decrypt ( string text ) : string

Decrypts text from its specified UTF-8 binary representation.

Decrypt64 ( string text ) : string

Decrypts data from its specified base-64 representation.

Encrypt ( string text ) : string

Encrypts specified text using UTF-8 as its binary representation.

Encrypt64 ( string text ) : string

Encrypts specified data specified by its base-64 representation.

Initialize ( string thumbprint ) : void

Initializes a secured storage using certificate with specified thumbprint.

비공개 메소드들

메소드 설명
Find ( string thumbprint ) : X509Certificate2

Tries to find certificate by specified thumbprint.

메소드 상세

Decrypt() 공개 정적인 메소드

Decrypts text from its specified UTF-8 binary representation.
public static Decrypt ( string text ) : string
text string
리턴 string

Decrypt64() 공개 정적인 메소드

Decrypts data from its specified base-64 representation.
public static Decrypt64 ( string text ) : string
text string
리턴 string

Encrypt() 공개 정적인 메소드

Encrypts specified text using UTF-8 as its binary representation.
public static Encrypt ( string text ) : string
text string
리턴 string

Encrypt64() 공개 정적인 메소드

Encrypts specified data specified by its base-64 representation.
public static Encrypt64 ( string text ) : string
text string
리턴 string

Initialize() 공개 정적인 메소드

Initializes a secured storage using certificate with specified thumbprint.
public static Initialize ( string thumbprint ) : void
thumbprint string
리턴 void