C# 클래스 Net.Pkcs11Interop.Common.Pkcs11Uri

PKCS#11 URI parser
파일 보기 프로젝트 열기: Pkcs11Interop/Pkcs11Interop 1 사용 예제들

공개 메소드들

메소드 설명
Pkcs11Uri ( string uri ) : System

Intializes new instance of Pkcs11Uri class that parses provided PKCS#11 URI and checks max lengths of path attribute values

Pkcs11Uri ( string uri, bool checkLengths ) : System

Intializes new instance of Pkcs11Uri class that parses provided PKCS#11 URI

비공개 메소드들

메소드 설명
DecodePk11String ( string attributeName, string pk11String, char allowedChars, bool decodePctEncodedChars ) : byte[]

Checks whether Pk11String contains invalid characters and optionaly decodes percent encoded characters

Extract ( string text ) : string

Extracts PKCS#11 URI from text and removes all whitespaces

IsHexDigit ( char c ) : bool

Checks whether character is hex digit

Parse ( string uri ) : void

Parses PKCS#11 URI

ParsePathAttribute ( string attribute ) : void

Parses path attribute

ParseQueryAttribute ( string attribute ) : void

Parses query attribute

메소드 상세

Pkcs11Uri() 공개 메소드

Intializes new instance of Pkcs11Uri class that parses provided PKCS#11 URI and checks max lengths of path attribute values
public Pkcs11Uri ( string uri ) : System
uri string PKCS#11 URI to be parsed
리턴 System

Pkcs11Uri() 공개 메소드

Intializes new instance of Pkcs11Uri class that parses provided PKCS#11 URI
public Pkcs11Uri ( string uri, bool checkLengths ) : System
uri string PKCS#11 URI to be parsed
checkLengths bool Flag indicating whether max lengths of path attribute values should be checked
리턴 System