C# Class System.Security.Cryptography.X509Certificates.X509Certificate2Collection

Inheritance: X509CertificateCollection
显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Add ( System certificate ) : int
Add ( X509Certificate2 certificate ) : int
AddRange ( System certificates ) : void
AddRange ( X509Certificate2 certificates ) : void
AddRange ( X509Certificate2Collection certificates ) : void
Contains ( System certificate ) : bool
Contains ( X509Certificate2 certificate ) : bool
Export ( System contentType ) : byte[]
Export ( System contentType, string password ) : byte[]
Export ( X509ContentType contentType ) : byte[]
Export ( X509ContentType contentType, string password ) : byte[]
Find ( System findType, object findValue, bool validOnly ) : System.Security.Cryptography.X509Certificates.X509Certificate2Collection
Find ( X509FindType findType, object findValue, bool validOnly ) : X509Certificate2Collection
GetEnumerator ( ) : System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator
GetEnumerator ( ) : X509Certificate2Enumerator
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
Insert ( int index, System certificate ) : void
Insert ( int index, X509Certificate2 certificate ) : void
Remove ( System certificate ) : void
Remove ( X509Certificate2 certificate ) : void
RemoveRange ( System certificates ) : void
RemoveRange ( X509Certificate2 certificates ) : void
RemoveRange ( X509Certificate2Collection certificates ) : void
X509Certificate2Collection ( )
X509Certificate2Collection ( System certificate )
X509Certificate2Collection ( ) : Internal.Cryptography.Pal
X509Certificate2Collection ( X509Certificate2 certificate ) : Internal.Cryptography.Pal
X509Certificate2Collection ( X509Certificate2Collection certificates ) : Internal.Cryptography.Pal
this ( int index ) : System.Security.Cryptography.X509Certificates.X509Certificate2
this ( int index ) : X509Certificate2

Method Details

Add() public method

public Add ( System certificate ) : int
certificate System
return int

Add() public method

public Add ( X509Certificate2 certificate ) : int
certificate X509Certificate2
return int

AddRange() public method

public AddRange ( System certificates ) : void
certificates System
return void

AddRange() public method

public AddRange ( X509Certificate2 certificates ) : void
certificates X509Certificate2
return void

AddRange() public method

public AddRange ( X509Certificate2Collection certificates ) : void
certificates X509Certificate2Collection
return void

Contains() public method

public Contains ( System certificate ) : bool
certificate System
return bool

Contains() public method

public Contains ( X509Certificate2 certificate ) : bool
certificate X509Certificate2
return bool

Export() public method

public Export ( System contentType ) : byte[]
contentType System
return byte[]

Export() public method

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

Export() public method

public Export ( X509ContentType contentType ) : byte[]
contentType X509ContentType
return byte[]

Export() public method

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

Find() public method

public Find ( System findType, object findValue, bool validOnly ) : System.Security.Cryptography.X509Certificates.X509Certificate2Collection
findType System
findValue object
validOnly bool
return System.Security.Cryptography.X509Certificates.X509Certificate2Collection

Find() public method

public Find ( X509FindType findType, object findValue, bool validOnly ) : X509Certificate2Collection
findType X509FindType
findValue object
validOnly bool
return X509Certificate2Collection

GetEnumerator() public method

public GetEnumerator ( ) : System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator
return System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator

GetEnumerator() public method

public GetEnumerator ( ) : X509Certificate2Enumerator
return X509Certificate2Enumerator

Import() public method

public Import ( byte rawData ) : void
rawData byte
return void

Import() public method

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

Import() public method

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

Import() public method

public Import ( string fileName ) : void
fileName string
return void

Import() public method

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

Import() public method

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

Insert() public method

public Insert ( int index, System certificate ) : void
index int
certificate System
return void

Insert() public method

public Insert ( int index, X509Certificate2 certificate ) : void
index int
certificate X509Certificate2
return void

Remove() public method

public Remove ( System certificate ) : void
certificate System
return void

Remove() public method

public Remove ( X509Certificate2 certificate ) : void
certificate X509Certificate2
return void

RemoveRange() public method

public RemoveRange ( System certificates ) : void
certificates System
return void

RemoveRange() public method

public RemoveRange ( X509Certificate2 certificates ) : void
certificates X509Certificate2
return void

RemoveRange() public method

public RemoveRange ( X509Certificate2Collection certificates ) : void
certificates X509Certificate2Collection
return void

X509Certificate2Collection() public method

X509Certificate2Collection() public method

public X509Certificate2Collection ( System certificate )
certificate System

X509Certificate2Collection() public method

public X509Certificate2Collection ( ) : Internal.Cryptography.Pal
return Internal.Cryptography.Pal

X509Certificate2Collection() public method

public X509Certificate2Collection ( X509Certificate2 certificate ) : Internal.Cryptography.Pal
certificate X509Certificate2
return Internal.Cryptography.Pal

X509Certificate2Collection() public method

public X509Certificate2Collection ( X509Certificate2Collection certificates ) : Internal.Cryptography.Pal
certificates X509Certificate2Collection
return Internal.Cryptography.Pal

this() public method

public this ( int index ) : System.Security.Cryptography.X509Certificates.X509Certificate2
index int
return System.Security.Cryptography.X509Certificates.X509Certificate2

this() public method

public this ( int index ) : X509Certificate2
index int
return X509Certificate2