X509Certificate2Collection
X509Certificate2Collection()
X509Certificate2Collection(X509Certificate2)
X509Certificate2Collection(X509Certificate2[])
X509Certificate2Collection(X509Certificate2Collection)
this[Int32]
Add(X509Certificate2)
AddRange(X509Certificate2[])
AddRange(X509Certificate2Collection)
Contains(X509Certificate2)
Export(X509ContentType)
Export(X509ContentType, String)
ExportCertificatePems()
ExportPkcs7Pem()
Find(X509FindType, Object, Boolean)
GetEnumerator()
Import(Byte[])
Import(String)
Import(Byte[], String, X509KeyStorageFlags)
Import(String, String, X509KeyStorageFlags)
Import(ReadOnlySpan<Byte>)
Import(ReadOnlySpan<Byte>, ReadOnlySpan<Char>, X509KeyStorageFlags)
Import(ReadOnlySpan<Byte>, String, X509KeyStorageFlags)
Import(String, ReadOnlySpan<Char>, X509KeyStorageFlags)
ImportFromPem(ReadOnlySpan<Char>)
ImportFromPemFile(String)
Insert(Int32, X509Certificate2)
Remove(X509Certificate2)
RemoveRange(X509Certificate2[])
RemoveRange(X509Certificate2Collection)
TryExportCertificatePems(Span<Char>, Int32)
TryExportPkcs7Pem(Span<Char>, Int32)
net9.0
namespace System.Security.Cryptography.X509Certificates
{
[DefaultMember("Item")]
public class X509Certificate2Collection : X509CertificateCollection, IEnumerable, IEnumerable<X509Certificate2!>
{
[Obsolete("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId = "SYSLIB0057", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public void Import(ReadOnlySpan<byte> rawData, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET | 5.06.07.08.09.0 |
Information specific to net9.0 | |
Assembly | System.Security.Cryptography , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Obsolete | SYSLIB0057: Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API