C# 클래스 System.Security.Cryptography.X509Certificates.X509Certificate

상속: IDisposable
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Export byte[]
Export byte[]
GetIssuerName string
GetName string
GetNotAfter System.DateTime
GetNotBefore System.DateTime
GetRawCertHash byte[]
GetRawSerialNumber byte[]
IDeserializationCallback void
ISerializable void
Import void
Import void
Import void
Import void
ThrowIfInvalid void
ValidateKeyStorageFlags void
VerifyContentType void
X509Certificate
X509Certificate
X509Certificate
X509Certificate
X509Certificate System.Diagnostics
X509Certificate System.Diagnostics
X509Certificate System.Diagnostics
X509Certificate System.Diagnostics
X509Certificate System.Diagnostics
X509Certificate System.Diagnostics

공개 메소드들

메소드 설명
CreateFromCertFile ( string filename ) : System.Security.Cryptography.X509Certificates.X509Certificate
CreateFromCertFile ( string filename ) : X509Certificate
CreateFromSignedFile ( string filename ) : System.Security.Cryptography.X509Certificates.X509Certificate
CreateFromSignedFile ( string filename ) : X509Certificate
Dispose ( ) : void
Equals ( System other ) : bool
Equals ( X509Certificate other ) : bool
Equals ( object obj ) : bool
Export ( System contentType ) : byte[]
Export ( System contentType, string password ) : byte[]
Export ( X509ContentType contentType ) : byte[]
Export ( X509ContentType contentType, string password ) : byte[]
GetCertHash ( ) : byte[]
GetCertHashString ( ) : string
GetEffectiveDateString ( ) : string
GetExpirationDateString ( ) : string
GetFormat ( ) : string
GetHashCode ( ) : int
GetKeyAlgorithm ( ) : string
GetKeyAlgorithmParameters ( ) : byte[]
GetKeyAlgorithmParametersString ( ) : string
GetPublicKey ( ) : byte[]
GetPublicKeyString ( ) : string
GetRawCertData ( ) : byte[]
GetRawCertDataString ( ) : string
GetSerialNumber ( ) : byte[]
GetSerialNumberString ( ) : string
Import ( byte rawData ) : void
Import ( byte rawData, string password, System keyStorageFlags ) : void
Import ( byte rawData, string password, X509KeyStorageFlags keyStorageFlags ) : void
Import ( string fileName ) : void
Import ( string fileName, string password, System keyStorageFlags ) : void
Import ( string fileName, string password, X509KeyStorageFlags keyStorageFlags ) : void
Reset ( ) : void
System ( System info, System context ) : void
System ( object sender ) : void
ToString ( ) : string
ToString ( bool fVerbose ) : string
X509Certificate ( )
X509Certificate ( System handle )
X509Certificate ( System info, System context )
X509Certificate ( byte data )
X509Certificate ( byte rawData, string password )
X509Certificate ( byte rawData, string password, System keyStorageFlags )
X509Certificate ( string fileName )
X509Certificate ( string fileName, string password )
X509Certificate ( string fileName, string password, System keyStorageFlags )
X509Certificate ( ) : System.Diagnostics
X509Certificate ( IntPtr handle ) : System.Diagnostics
X509Certificate ( X509Certificate cert ) : System.Diagnostics
X509Certificate ( byte data ) : System.Diagnostics
X509Certificate ( byte rawData, string password ) : System.Diagnostics
X509Certificate ( byte rawData, string password, X509KeyStorageFlags keyStorageFlags ) : System.Diagnostics
X509Certificate ( string fileName ) : System.Diagnostics
X509Certificate ( string fileName, string password ) : System.Diagnostics
X509Certificate ( string fileName, string password, X509KeyStorageFlags keyStorageFlags ) : System.Diagnostics

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
FormatDate ( System.DateTime date ) : string

Convert a date to a string. Some cultures, specifically using the Um-AlQura calendar cannot convert dates far into the future into strings. If the expiration date of an X.509 certificate is beyond the range of one of these cases, we need to fall back to a calendar which can express the dates

FormatDate ( System date ) : string

비공개 메소드들

메소드 설명
Export ( System contentType, System password ) : byte[]
Export ( X509ContentType contentType, SecureString password ) : byte[]
GetIssuerName ( ) : string
GetName ( ) : string
GetNotAfter ( ) : System.DateTime
GetNotBefore ( ) : System.DateTime
GetRawCertHash ( ) : byte[]
GetRawSerialNumber ( ) : byte[]
IDeserializationCallback ( object sender ) : void
ISerializable ( SerializationInfo info, StreamingContext context ) : void
Import ( byte rawData, SecureString password, X509KeyStorageFlags keyStorageFlags ) : void
Import ( byte rawData, System password, System keyStorageFlags ) : void
Import ( string fileName, SecureString password, X509KeyStorageFlags keyStorageFlags ) : void
Import ( string fileName, System password, System keyStorageFlags ) : void
ThrowIfInvalid ( ) : void
ValidateKeyStorageFlags ( X509KeyStorageFlags keyStorageFlags ) : void
VerifyContentType ( X509ContentType contentType ) : void
X509Certificate ( byte rawData, System password )
X509Certificate ( byte rawData, System password, System keyStorageFlags )
X509Certificate ( string fileName, System password )
X509Certificate ( string fileName, System password, System keyStorageFlags )
X509Certificate ( ICertificatePal pal ) : System.Diagnostics
X509Certificate ( SerializationInfo info, StreamingContext context ) : System.Diagnostics
X509Certificate ( byte rawData, SecureString password ) : System.Diagnostics
X509Certificate ( byte rawData, SecureString password, X509KeyStorageFlags keyStorageFlags ) : System.Diagnostics
X509Certificate ( string fileName, SecureString password ) : System.Diagnostics
X509Certificate ( string fileName, SecureString password, X509KeyStorageFlags keyStorageFlags ) : System.Diagnostics

메소드 상세

CreateFromCertFile() 공개 정적인 메소드

public static CreateFromCertFile ( string filename ) : System.Security.Cryptography.X509Certificates.X509Certificate
filename string
리턴 System.Security.Cryptography.X509Certificates.X509Certificate

CreateFromCertFile() 공개 정적인 메소드

public static CreateFromCertFile ( string filename ) : X509Certificate
filename string
리턴 X509Certificate

CreateFromSignedFile() 공개 정적인 메소드

public static CreateFromSignedFile ( string filename ) : System.Security.Cryptography.X509Certificates.X509Certificate
filename string
리턴 System.Security.Cryptography.X509Certificates.X509Certificate

CreateFromSignedFile() 공개 정적인 메소드

public static CreateFromSignedFile ( string filename ) : X509Certificate
filename string
리턴 X509Certificate

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Equals() 공개 메소드

public Equals ( System other ) : bool
other System
리턴 bool

Equals() 공개 메소드

public Equals ( X509Certificate other ) : bool
other X509Certificate
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

Export() 공개 메소드

public Export ( System contentType ) : byte[]
contentType System
리턴 byte[]

Export() 공개 메소드

public Export ( System contentType, string password ) : byte[]
contentType System
password string
리턴 byte[]

Export() 공개 메소드

public Export ( X509ContentType contentType ) : byte[]
contentType X509ContentType
리턴 byte[]

Export() 공개 메소드

public Export ( X509ContentType contentType, string password ) : byte[]
contentType X509ContentType
password string
리턴 byte[]

FormatDate() 보호된 정적인 메소드

Convert a date to a string. Some cultures, specifically using the Um-AlQura calendar cannot convert dates far into the future into strings. If the expiration date of an X.509 certificate is beyond the range of one of these cases, we need to fall back to a calendar which can express the dates
protected static FormatDate ( System.DateTime date ) : string
date System.DateTime
리턴 string

FormatDate() 보호된 정적인 메소드

protected static FormatDate ( System date ) : string
date System
리턴 string

GetCertHash() 공개 메소드

public GetCertHash ( ) : byte[]
리턴 byte[]

GetCertHashString() 공개 메소드

public GetCertHashString ( ) : string
리턴 string

GetEffectiveDateString() 공개 메소드

public GetEffectiveDateString ( ) : string
리턴 string

GetExpirationDateString() 공개 메소드

public GetExpirationDateString ( ) : string
리턴 string

GetFormat() 공개 메소드

public GetFormat ( ) : string
리턴 string

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetKeyAlgorithm() 공개 메소드

public GetKeyAlgorithm ( ) : string
리턴 string

GetKeyAlgorithmParameters() 공개 메소드

public GetKeyAlgorithmParameters ( ) : byte[]
리턴 byte[]

GetKeyAlgorithmParametersString() 공개 메소드

public GetKeyAlgorithmParametersString ( ) : string
리턴 string

GetPublicKey() 공개 메소드

public GetPublicKey ( ) : byte[]
리턴 byte[]

GetPublicKeyString() 공개 메소드

public GetPublicKeyString ( ) : string
리턴 string

GetRawCertData() 공개 메소드

public GetRawCertData ( ) : byte[]
리턴 byte[]

GetRawCertDataString() 공개 메소드

public GetRawCertDataString ( ) : string
리턴 string

GetSerialNumber() 공개 메소드

public GetSerialNumber ( ) : byte[]
리턴 byte[]

GetSerialNumberString() 공개 메소드

public GetSerialNumberString ( ) : string
리턴 string

Import() 공개 메소드

public Import ( byte rawData ) : void
rawData byte
리턴 void

Import() 공개 메소드

public Import ( byte rawData, string password, System keyStorageFlags ) : void
rawData byte
password string
keyStorageFlags System
리턴 void

Import() 공개 메소드

public Import ( byte rawData, string password, X509KeyStorageFlags keyStorageFlags ) : void
rawData byte
password string
keyStorageFlags X509KeyStorageFlags
리턴 void

Import() 공개 메소드

public Import ( string fileName ) : void
fileName string
리턴 void

Import() 공개 메소드

public Import ( string fileName, string password, System keyStorageFlags ) : void
fileName string
password string
keyStorageFlags System
리턴 void

Import() 공개 메소드

public Import ( string fileName, string password, X509KeyStorageFlags keyStorageFlags ) : void
fileName string
password string
keyStorageFlags X509KeyStorageFlags
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

System() 공개 메소드

public System ( System info, System context ) : void
info System
context System
리턴 void

System() 공개 메소드

public System ( object sender ) : void
sender object
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ToString() 공개 메소드

public ToString ( bool fVerbose ) : string
fVerbose bool
리턴 string

X509Certificate() 공개 메소드

public X509Certificate ( )

X509Certificate() 공개 메소드

public X509Certificate ( System handle )
handle System

X509Certificate() 공개 메소드

public X509Certificate ( System info, System context )
info System
context System

X509Certificate() 공개 메소드

public X509Certificate ( byte data )
data byte

X509Certificate() 공개 메소드

public X509Certificate ( byte rawData, string password )
rawData byte
password string

X509Certificate() 공개 메소드

public X509Certificate ( byte rawData, string password, System keyStorageFlags )
rawData byte
password string
keyStorageFlags System

X509Certificate() 공개 메소드

public X509Certificate ( string fileName )
fileName string

X509Certificate() 공개 메소드

public X509Certificate ( string fileName, string password )
fileName string
password string

X509Certificate() 공개 메소드

public X509Certificate ( string fileName, string password, System keyStorageFlags )
fileName string
password string
keyStorageFlags System

X509Certificate() 공개 메소드

public X509Certificate ( ) : System.Diagnostics
리턴 System.Diagnostics

X509Certificate() 공개 메소드

public X509Certificate ( IntPtr handle ) : System.Diagnostics
handle System.IntPtr
리턴 System.Diagnostics

X509Certificate() 공개 메소드

public X509Certificate ( X509Certificate cert ) : System.Diagnostics
cert X509Certificate
리턴 System.Diagnostics

X509Certificate() 공개 메소드

public X509Certificate ( byte data ) : System.Diagnostics
data byte
리턴 System.Diagnostics

X509Certificate() 공개 메소드

public X509Certificate ( byte rawData, string password ) : System.Diagnostics
rawData byte
password string
리턴 System.Diagnostics

X509Certificate() 공개 메소드

public X509Certificate ( byte rawData, string password, X509KeyStorageFlags keyStorageFlags ) : System.Diagnostics
rawData byte
password string
keyStorageFlags X509KeyStorageFlags
리턴 System.Diagnostics

X509Certificate() 공개 메소드

public X509Certificate ( string fileName ) : System.Diagnostics
fileName string
리턴 System.Diagnostics

X509Certificate() 공개 메소드

public X509Certificate ( string fileName, string password ) : System.Diagnostics
fileName string
password string
리턴 System.Diagnostics

X509Certificate() 공개 메소드

public X509Certificate ( string fileName, string password, X509KeyStorageFlags keyStorageFlags ) : System.Diagnostics
fileName string
password string
keyStorageFlags X509KeyStorageFlags
리턴 System.Diagnostics