RingDotNetfor Ring

System.Security.Cryptography.X509Certificates

37 wrapped types. Load them with using { "System.Security.Cryptography.X509Certificates" }. Click a class to open it.

CertificateRequest class sealed

System.Security.Cryptography.X509Certificates.CertificateRequest · assembly System.Security.Cryptography

Constructors

new CertificateRequest(string subjectName, ECDsa key, HashAlgorithmName hashAlgorithm)
new CertificateRequest(X500DistinguishedName subjectName, ECDsa key, HashAlgorithmName hashAlgorithm)
new CertificateRequest(string subjectName, RSA key, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
new CertificateRequest(X500DistinguishedName subjectName, RSA key, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
new CertificateRequest(X500DistinguishedName subjectName, PublicKey publicKey, HashAlgorithmName hashAlgorithm)
new CertificateRequest(X500DistinguishedName subjectName, PublicKey publicKey, HashAlgorithmName hashAlgorithm, RSASignaturePadding rsaSignaturePadding = …)

Ring: new CertificateRequest(args) uses one constructor; the others are chosen by the parameter names: new CertificateRequest().@New([ :param = value ]) or dnNew("CertificateRequest",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
SubjectNameX500DistinguishedNamereado.SubjectName
CertificateExtensionsCollection<X509Extension>reado.CertificateExtensions
OtherRequestAttributesCollection<AsnEncodedData>reado.OtherRequestAttributes
PublicKeyPublicKeyreado.PublicKey
HashAlgorithmHashAlgorithmNamereado.HashAlgorithm

Methods

MethodRing call.NET overloads
CreateCreate([ :issuerCertificate = …, :notBefore = …, :notAfter = …, :serialNumber = … ])
Create([ :issuerName = …, :generator = …, :notBefore = …, :notAfter = …, :serialNumber = … ])
X509Certificate2 Create(X509Certificate2 issuerCertificate, DateTimeOffset notBefore, DateTimeOffset notAfter, byte[] serialNumber)
X509Certificate2 Create(X509Certificate2 issuerCertificate, DateTimeOffset notBefore, DateTimeOffset notAfter, ReadOnlySpan<byte> serialNumber)
X509Certificate2 Create(X500DistinguishedName issuerName, X509SignatureGenerator generator, DateTimeOffset notBefore, DateTimeOffset notAfter, byte[] serialNumber)
X509Certificate2 Create(X500DistinguishedName issuerName, X509SignatureGenerator generator, DateTimeOffset notBefore, DateTimeOffset notAfter, ReadOnlySpan<byte> serialNumber)
CreateSelfSignedcallMethod("CreateSelfSigned",[p1,p2])X509Certificate2 CreateSelfSigned(DateTimeOffset notBefore, DateTimeOffset notAfter)
CreateSigningRequestCreateSigningRequest(NULL)
CreateSigningRequest(value)
CreateSigningRequest([ :signatureGenerator = … ])
byte[] CreateSigningRequest()
byte[] CreateSigningRequest(X509SignatureGenerator signatureGenerator)
CreateSigningRequestPemcallMethod("CreateSigningRequestPem",[])
callMethod("CreateSigningRequestPem",[p1])
string CreateSigningRequestPem()
string CreateSigningRequestPem(X509SignatureGenerator signatureGenerator)
LoadSigningRequestLoadSigningRequest([ :pkcs10 = …, :signerHashAlgorithm = …, :options = …, :signerSignaturePadding = … ])
LoadSigningRequest([ :pkcs10 = …, :signerHashAlgorithm = …, :bytesConsumed = …, :options = …, :signerSignaturePadding = … ])
static CertificateRequest LoadSigningRequest(byte[] pkcs10, HashAlgorithmName signerHashAlgorithm, CertificateRequestLoadOptions options = …, RSASignaturePadding signerSignaturePadding = …)
static CertificateRequest LoadSigningRequest(ReadOnlySpan<byte> pkcs10, HashAlgorithmName signerHashAlgorithm, out int bytesConsumed, CertificateRequestLoadOptions options = …, RSASignaturePadding signerSignaturePadding = …)
LoadSigningRequestPemLoadSigningRequestPem([ :pkcs10Pem = …, :signerHashAlgorithm = …, :options = …, :signerSignaturePadding = … ])static CertificateRequest LoadSigningRequestPem(string pkcs10Pem, HashAlgorithmName signerHashAlgorithm, CertificateRequestLoadOptions options = …, RSASignaturePadding signerSignaturePadding = …)
static CertificateRequest LoadSigningRequestPem(ReadOnlySpan<char> pkcs10Pem, HashAlgorithmName signerHashAlgorithm, CertificateRequestLoadOptions options = …, RSASignaturePadding signerSignaturePadding = …)
CertificateRevocationListBuilder class sealed

System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder · assembly System.Security.Cryptography

Constructors

new CertificateRevocationListBuilder()

Ring: new CertificateRevocationListBuilder(args) uses one constructor; the others are chosen by the parameter names: new CertificateRevocationListBuilder().@New([ :param = value ]) or dnNew("CertificateRevocationListBuilder",[ :param = value ]).

Methods

MethodRing call.NET overloads
AddEntrycallMethod("AddEntry",[p1,p2,p3])void AddEntry(X509Certificate2 certificate, DateTimeOffset? revocationTime = …, X509RevocationReason? reason = …)
void AddEntry(byte[] serialNumber, DateTimeOffset? revocationTime = …, X509RevocationReason? reason = …)
void AddEntry(ReadOnlySpan<byte> serialNumber, DateTimeOffset? revocationTime = …, X509RevocationReason? reason = …)
BuildBuild([ :issuerCertificate = …, :crlNumber = …, :nextUpdate = …, :hashAlgorithm = …, :rsaSignaturePadding = …, :thisUpdate = … ])
Build([ :issuerName = …, :generator = …, :crlNumber = …, :nextUpdate = …, :hashAlgorithm = …, :authorityKeyIdentifier = …, :thisUpdate = … ])
byte[] Build(X509Certificate2 issuerCertificate, BigInteger crlNumber, DateTimeOffset nextUpdate, HashAlgorithmName hashAlgorithm, RSASignaturePadding rsaSignaturePadding = …, DateTimeOffset? thisUpdate = …)
byte[] Build(X500DistinguishedName issuerName, X509SignatureGenerator generator, BigInteger crlNumber, DateTimeOffset nextUpdate, HashAlgorithmName hashAlgorithm, X509AuthorityKeyIdentifierExtension authorityKeyIdentifier, DateTimeOffset? thisUpdate = …)
BuildCrlDistributionPointExtensionBuildCrlDistributionPointExtension([ :uris = …, :critical = … ])static X509Extension BuildCrlDistributionPointExtension(IEnumerable<string> uris, bool critical = …)
Load@Load(p1)static CertificateRevocationListBuilder Load(byte[] currentCrl, out BigInteger currentCrlNumber)
static CertificateRevocationListBuilder Load(ReadOnlySpan<byte> currentCrl, out BigInteger currentCrlNumber, out int bytesConsumed)
LoadPemLoadPem(p1)static CertificateRevocationListBuilder LoadPem(string currentCrl, out BigInteger currentCrlNumber)
static CertificateRevocationListBuilder LoadPem(ReadOnlySpan<char> currentCrl, out BigInteger currentCrlNumber)
RemoveEntryRemoveEntry(p1)bool RemoveEntry(byte[] serialNumber)
bool RemoveEntry(ReadOnlySpan<byte> serialNumber)
DSACertificateExtensions class static

System.Security.Cryptography.X509Certificates.DSACertificateExtensions · assembly System.Security.Cryptography

Methods

MethodRing call.NET overloads
CopyWithPrivateKeyCopyWithPrivateKey(p1,p2)static X509Certificate2 CopyWithPrivateKey(X509Certificate2 certificate, DSA privateKey)
GetDSAPrivateKeyGetDSAPrivateKey(p1)static DSA GetDSAPrivateKey(X509Certificate2 certificate)
GetDSAPublicKeyGetDSAPublicKey(p1)static DSA GetDSAPublicKey(X509Certificate2 certificate)
ECDsaCertificateExtensions class static

System.Security.Cryptography.X509Certificates.ECDsaCertificateExtensions · assembly System.Security.Cryptography

Methods

MethodRing call.NET overloads
CopyWithPrivateKeyCopyWithPrivateKey(p1,p2)static X509Certificate2 CopyWithPrivateKey(X509Certificate2 certificate, ECDsa privateKey)
GetECDsaPrivateKeyGetECDsaPrivateKey(p1)static ECDsa GetECDsaPrivateKey(X509Certificate2 certificate)
GetECDsaPublicKeyGetECDsaPublicKey(p1)static ECDsa GetECDsaPublicKey(X509Certificate2 certificate)
Pkcs12LoaderLimits class sealed

System.Security.Cryptography.X509Certificates.Pkcs12LoaderLimits · assembly System.Security.Cryptography

Constructors

new Pkcs12LoaderLimits()
new Pkcs12LoaderLimits(Pkcs12LoaderLimits copyFrom)

Ring: new Pkcs12LoaderLimits(args) uses one constructor; the others are chosen by the parameter names: new Pkcs12LoaderLimits().@New([ :param = value ]) or dnNew("Pkcs12LoaderLimits",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsReadOnlyboolreado.IsReadOnly
MacIterationLimitint?read, writeo.MacIterationLimit o.MacIterationLimit = v
IndividualKdfIterationLimitint?read, writeo.IndividualKdfIterationLimit o.IndividualKdfIterationLimit = v
TotalKdfIterationLimitint?read, writeo.TotalKdfIterationLimit o.TotalKdfIterationLimit = v
MaxKeysint?read, writeo.MaxKeys o.MaxKeys = v
MaxCertificatesint?read, writeo.MaxCertificates o.MaxCertificates = v
PreserveStorageProviderboolread, writeo.PreserveStorageProvider o.PreserveStorageProvider = v
PreserveKeyNameboolread, writeo.PreserveKeyName o.PreserveKeyName = v
PreserveCertificateAliasboolread, writeo.PreserveCertificateAlias o.PreserveCertificateAlias = v
PreserveUnknownAttributesboolread, writeo.PreserveUnknownAttributes o.PreserveUnknownAttributes = v
IgnorePrivateKeysboolread, writeo.IgnorePrivateKeys o.IgnorePrivateKeys = v
IgnoreEncryptedAuthSafesboolread, writeo.IgnoreEncryptedAuthSafes o.IgnoreEncryptedAuthSafes = v
DefaultsPkcs12LoaderLimitsread · statico.Defaults
DangerousNoLimitsPkcs12LoaderLimitsread · statico.DangerousNoLimits

Methods

MethodRing call.NET overloads
MakeReadOnlycallMethod("MakeReadOnly",[])void MakeReadOnly()
Pkcs12LoadLimitExceededException class sealed · extends CryptographicException

System.Security.Cryptography.X509Certificates.Pkcs12LoadLimitExceededException · assembly System.Security.Cryptography

Implements: ISerializable

Constructors

new Pkcs12LoadLimitExceededException(string propertyName)

Ring: new Pkcs12LoadLimitExceededException(args) uses one constructor; the others are chosen by the parameter names: new Pkcs12LoadLimitExceededException().@New([ :param = value ]) or dnNew("Pkcs12LoadLimitExceededException",[ :param = value ]).

Members of the base class are inherited.

PublicKey class sealed

System.Security.Cryptography.X509Certificates.PublicKey · assembly System.Security.Cryptography

Constructors

new PublicKey(Oid oid, AsnEncodedData parameters, AsnEncodedData keyValue)
new PublicKey(AsymmetricAlgorithm key)

Ring: new PublicKey(args) uses one constructor; the others are chosen by the parameter names: new PublicKey().@New([ :param = value ]) or dnNew("PublicKey",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
EncodedKeyValueAsnEncodedDatareado.EncodedKeyValue
EncodedParametersAsnEncodedDatareado.EncodedParameters
KeyAsymmetricAlgorithmreado.Key
OidOidreado.Oid

Methods

MethodRing call.NET overloads
CreateFromSubjectPublicKeyInfoCreateFromSubjectPublicKeyInfo(p1)static PublicKey CreateFromSubjectPublicKeyInfo(ReadOnlySpan<byte> source, out int bytesRead)
ExportSubjectPublicKeyInfocallMethod("ExportSubjectPublicKeyInfo",[])byte[] ExportSubjectPublicKeyInfo()
GetDSAPublicKeycallMethod("GetDSAPublicKey",[])DSA GetDSAPublicKey()
GetECDiffieHellmanPublicKeycallMethod("GetECDiffieHellmanPublicKey",[])ECDiffieHellman GetECDiffieHellmanPublicKey()
GetECDsaPublicKeycallMethod("GetECDsaPublicKey",[])ECDsa GetECDsaPublicKey()
GetRSAPublicKeycallMethod("GetRSAPublicKey",[])RSA GetRSAPublicKey()
TryExportSubjectPublicKeyInfoTryExportSubjectPublicKeyInfo(p1)bool TryExportSubjectPublicKeyInfo(Span<byte> destination, out int bytesWritten)
RSACertificateExtensions class static

System.Security.Cryptography.X509Certificates.RSACertificateExtensions · assembly System.Security.Cryptography

Methods

MethodRing call.NET overloads
CopyWithPrivateKeyCopyWithPrivateKey(p1,p2)static X509Certificate2 CopyWithPrivateKey(X509Certificate2 certificate, RSA privateKey)
GetRSAPrivateKeyGetRSAPrivateKey(p1)static RSA GetRSAPrivateKey(X509Certificate2 certificate)
GetRSAPublicKeyGetRSAPublicKey(p1)static RSA GetRSAPublicKey(X509Certificate2 certificate)
SubjectAlternativeNameBuilder class sealed

System.Security.Cryptography.X509Certificates.SubjectAlternativeNameBuilder · assembly System.Security.Cryptography

Constructors

new SubjectAlternativeNameBuilder()

Ring: new SubjectAlternativeNameBuilder(args) uses one constructor; the others are chosen by the parameter names: new SubjectAlternativeNameBuilder().@New([ :param = value ]) or dnNew("SubjectAlternativeNameBuilder",[ :param = value ]).

Methods

MethodRing call.NET overloads
AddDnsNamecallMethod("AddDnsName",[p1])void AddDnsName(string dnsName)
AddEmailAddresscallMethod("AddEmailAddress",[p1])void AddEmailAddress(string emailAddress)
AddIpAddressAddIpAddress(p1)void AddIpAddress(IPAddress ipAddress)
AddUriAddUri(p1)void AddUri(Uri uri)
AddUserPrincipalNamecallMethod("AddUserPrincipalName",[p1])void AddUserPrincipalName(string upn)
BuildBuild(value)
Build([ :critical = … ])
X509Extension Build(bool critical = …)
X500DistinguishedName class sealed · extends AsnEncodedData

System.Security.Cryptography.X509Certificates.X500DistinguishedName · assembly System.Security.Cryptography

Constructors

new X500DistinguishedName(byte[] encodedDistinguishedName)
new X500DistinguishedName(ReadOnlySpan<byte> encodedDistinguishedName)
new X500DistinguishedName(AsnEncodedData encodedDistinguishedName)
new X500DistinguishedName(X500DistinguishedName distinguishedName)
new X500DistinguishedName(string distinguishedName)
new X500DistinguishedName(string distinguishedName, X500DistinguishedNameFlags flag)

Ring: new X500DistinguishedName(args) uses one constructor; the others are chosen by the parameter names: new X500DistinguishedName().@New([ :param = value ]) or dnNew("X500DistinguishedName",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Namestringreado.Name

Methods

MethodRing call.NET overloads
DecodeDecode(p1)string Decode(X500DistinguishedNameFlags flag)
EnumerateRelativeDistinguishedNamesEnumerateRelativeDistinguishedNames(value)
EnumerateRelativeDistinguishedNames([ :reversed = … ])
IEnumerable<X500RelativeDistinguishedName> EnumerateRelativeDistinguishedNames(bool reversed = …)
FormatcallMethod("Format",[p1])string Format(bool multiLine)

Members of the base class are inherited.

X500DistinguishedNameBuilder class sealed

System.Security.Cryptography.X509Certificates.X500DistinguishedNameBuilder · assembly System.Security.Cryptography

Constructors

new X500DistinguishedNameBuilder()

Ring: new X500DistinguishedNameBuilder(args) uses one constructor; the others are chosen by the parameter names: new X500DistinguishedNameBuilder().@New([ :param = value ]) or dnNew("X500DistinguishedNameBuilder",[ :param = value ]).

Methods

MethodRing call.NET overloads
AddAdd([ :oidValue = …, :value = …, :stringEncodingType = … ])
Add([ :oid = …, :value = …, :stringEncodingType = … ])
void Add(string oidValue, string value, UniversalTagNumber? stringEncodingType = …)
void Add(Oid oid, string value, UniversalTagNumber? stringEncodingType = …)
AddCommonNamecallMethod("AddCommonName",[p1])void AddCommonName(string commonName)
AddCountryOrRegioncallMethod("AddCountryOrRegion",[p1])void AddCountryOrRegion(string twoLetterCode)
AddDomainComponentcallMethod("AddDomainComponent",[p1])void AddDomainComponent(string domainComponent)
AddEmailAddresscallMethod("AddEmailAddress",[p1])void AddEmailAddress(string emailAddress)
AddLocalityNamecallMethod("AddLocalityName",[p1])void AddLocalityName(string localityName)
AddOrganizationalUnitNamecallMethod("AddOrganizationalUnitName",[p1])void AddOrganizationalUnitName(string organizationalUnitName)
AddOrganizationNamecallMethod("AddOrganizationName",[p1])void AddOrganizationName(string organizationName)
AddStateOrProvinceNamecallMethod("AddStateOrProvinceName",[p1])void AddStateOrProvinceName(string stateOrProvinceName)
BuildcallMethod("Build",[])X500DistinguishedName Build()
X500RelativeDistinguishedName class sealed

System.Security.Cryptography.X509Certificates.X500RelativeDistinguishedName · assembly System.Security.Cryptography

Properties and fields

NameTypeAccessIn Ring
RawDataReadOnlyMemory<byte>reado.RawData
HasMultipleElementsboolreado.HasMultipleElements

Methods

MethodRing call.NET overloads
GetSingleElementTypecallMethod("GetSingleElementType",[])Oid GetSingleElementType()
GetSingleElementValuecallMethod("GetSingleElementValue",[])string GetSingleElementValue()
X509AuthorityInformationAccessExtension class sealed · extends X509Extension

System.Security.Cryptography.X509Certificates.X509AuthorityInformationAccessExtension · assembly System.Security.Cryptography

Constructors

new X509AuthorityInformationAccessExtension()
new X509AuthorityInformationAccessExtension(byte[] rawData, bool critical = …)
new X509AuthorityInformationAccessExtension(ReadOnlySpan<byte> rawData, bool critical = …)
new X509AuthorityInformationAccessExtension(IEnumerable<string> ocspUris, IEnumerable<string> caIssuersUris, bool critical = …)

Ring: new X509AuthorityInformationAccessExtension(args) uses one constructor; the others are chosen by the parameter names: new X509AuthorityInformationAccessExtension().@New([ :param = value ]) or dnNew("X509AuthorityInformationAccessExtension",[ :param = value ]).

Methods

MethodRing call.NET overloads
CopyFromCopyFrom(p1)void CopyFrom(AsnEncodedData asnEncodedData)
EnumerateCAIssuersUriscallMethod("EnumerateCAIssuersUris",[])IEnumerable<string> EnumerateCAIssuersUris()
EnumerateOcspUriscallMethod("EnumerateOcspUris",[])IEnumerable<string> EnumerateOcspUris()
EnumerateUriscallMethod("EnumerateUris",[p1])IEnumerable<string> EnumerateUris(string accessMethodOid)
IEnumerable<string> EnumerateUris(Oid accessMethodOid)

Members of the base class are inherited.

X509AuthorityKeyIdentifierExtension class sealed · extends X509Extension

System.Security.Cryptography.X509Certificates.X509AuthorityKeyIdentifierExtension · assembly System.Security.Cryptography

Constructors

new X509AuthorityKeyIdentifierExtension()
new X509AuthorityKeyIdentifierExtension(byte[] rawData, bool critical = …)
new X509AuthorityKeyIdentifierExtension(ReadOnlySpan<byte> rawData, bool critical = …)

Ring: new X509AuthorityKeyIdentifierExtension(args) uses one constructor; the others are chosen by the parameter names: new X509AuthorityKeyIdentifierExtension().@New([ :param = value ]) or dnNew("X509AuthorityKeyIdentifierExtension",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
KeyIdentifierReadOnlyMemory<byte>?reado.KeyIdentifier
NamedIssuerX500DistinguishedNamereado.NamedIssuer
RawIssuerReadOnlyMemory<byte>?reado.RawIssuer
SerialNumberReadOnlyMemory<byte>?reado.SerialNumber

Methods

MethodRing call.NET overloads
CopyFromCopyFrom(p1)void CopyFrom(AsnEncodedData asnEncodedData)
CreateCreate(p1,p2,p3)static X509AuthorityKeyIdentifierExtension Create(byte[] keyIdentifier, X500DistinguishedName issuerName, byte[] serialNumber)
static X509AuthorityKeyIdentifierExtension Create(ReadOnlySpan<byte> keyIdentifier, X500DistinguishedName issuerName, ReadOnlySpan<byte> serialNumber)
CreateFromCertificateCreateFromCertificate(p1,p2,p3)static X509AuthorityKeyIdentifierExtension CreateFromCertificate(X509Certificate2 certificate, bool includeKeyIdentifier, bool includeIssuerAndSerial)
CreateFromIssuerNameAndSerialNumberCreateFromIssuerNameAndSerialNumber(p1,p2)static X509AuthorityKeyIdentifierExtension CreateFromIssuerNameAndSerialNumber(X500DistinguishedName issuerName, byte[] serialNumber)
static X509AuthorityKeyIdentifierExtension CreateFromIssuerNameAndSerialNumber(X500DistinguishedName issuerName, ReadOnlySpan<byte> serialNumber)
CreateFromSubjectKeyIdentifierCreateFromSubjectKeyIdentifier(p1)static X509AuthorityKeyIdentifierExtension CreateFromSubjectKeyIdentifier(X509SubjectKeyIdentifierExtension subjectKeyIdentifier)
static X509AuthorityKeyIdentifierExtension CreateFromSubjectKeyIdentifier(byte[] subjectKeyIdentifier)
static X509AuthorityKeyIdentifierExtension CreateFromSubjectKeyIdentifier(ReadOnlySpan<byte> subjectKeyIdentifier)

Members of the base class are inherited.

X509BasicConstraintsExtension class sealed · extends X509Extension

System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension · assembly System.Security.Cryptography

Constructors

new X509BasicConstraintsExtension()
new X509BasicConstraintsExtension(bool certificateAuthority, bool hasPathLengthConstraint, int pathLengthConstraint, bool critical)
new X509BasicConstraintsExtension(AsnEncodedData encodedBasicConstraints, bool critical)

Ring: new X509BasicConstraintsExtension(args) uses one constructor; the others are chosen by the parameter names: new X509BasicConstraintsExtension().@New([ :param = value ]) or dnNew("X509BasicConstraintsExtension",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CertificateAuthorityboolreado.CertificateAuthority
HasPathLengthConstraintboolreado.HasPathLengthConstraint
PathLengthConstraintintreado.PathLengthConstraint

Methods

MethodRing call.NET overloads
CopyFromCopyFrom(p1)void CopyFrom(AsnEncodedData asnEncodedData)
CreateForCertificateAuthorityCreateForCertificateAuthority(value)
CreateForCertificateAuthority([ :pathLengthConstraint = … ])
static X509BasicConstraintsExtension CreateForCertificateAuthority(int? pathLengthConstraint = …)
CreateForEndEntityCreateForEndEntity(value)
CreateForEndEntity([ :critical = … ])
static X509BasicConstraintsExtension CreateForEndEntity(bool critical = …)

Members of the base class are inherited.

X509Certificate class

System.Security.Cryptography.X509Certificates.X509Certificate · assembly System.Security.Cryptography

Implements: IDisposable, IDeserializationCallback, ISerializable

Constructors

new X509Certificate()
new X509Certificate(byte[] data)
new X509Certificate(byte[] rawData, string password)
new X509Certificate(byte[] rawData, SecureString password)
new X509Certificate(byte[] rawData, string password, X509KeyStorageFlags keyStorageFlags)
new X509Certificate(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)
new X509Certificate(IntPtr handle)
new X509Certificate(string fileName)
new X509Certificate(string fileName, string password)
new X509Certificate(string fileName, SecureString password)
new X509Certificate(string fileName, string password, X509KeyStorageFlags keyStorageFlags)
new X509Certificate(string fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)
new X509Certificate(X509Certificate cert)
new X509Certificate(SerializationInfo info, StreamingContext context)

Ring: new X509Certificate(args) uses one constructor; the others are chosen by the parameter names: new X509Certificate().@New([ :param = value ]) or dnNew("X509Certificate",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
HandleIntPtrreado.Handle
Issuerstringreado.Issuer
Subjectstringreado.Subject
SerialNumberBytesReadOnlyMemory<byte>reado.SerialNumberBytes

Methods

MethodRing call.NET overloads
CreateFromCertFileCreateFromCertFile(p1)static X509Certificate CreateFromCertFile(string filename)
CreateFromSignedFileCreateFromSignedFile(p1)static X509Certificate CreateFromSignedFile(string filename)
DisposecallMethod("Dispose",[])void Dispose()
EqualsEquals(p1)bool Equals(object obj)
bool Equals(X509Certificate other)
ExportExport(value)
Export([ :contentType = … ])
Export([ :contentType = …, :password = … ])
byte[] Export(X509ContentType contentType)
byte[] Export(X509ContentType contentType, string password)
byte[] Export(X509ContentType contentType, SecureString password)
GetCertHashGetCertHash(NULL)
GetCertHash(value)
GetCertHash([ :hashAlgorithm = … ])
byte[] GetCertHash()
byte[] GetCertHash(HashAlgorithmName hashAlgorithm)
GetCertHashStringcallMethod("GetCertHashString",[])
callMethod("GetCertHashString",[p1])
string GetCertHashString()
string GetCertHashString(HashAlgorithmName hashAlgorithm)
GetEffectiveDateStringcallMethod("GetEffectiveDateString",[])string GetEffectiveDateString()
GetExpirationDateStringcallMethod("GetExpirationDateString",[])string GetExpirationDateString()
GetFormatcallMethod("GetFormat",[])string GetFormat()
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
GetIssuerNamecallMethod("GetIssuerName",[])string GetIssuerName()
GetKeyAlgorithmcallMethod("GetKeyAlgorithm",[])string GetKeyAlgorithm()
GetKeyAlgorithmParameterscallMethod("GetKeyAlgorithmParameters",[])byte[] GetKeyAlgorithmParameters()
GetKeyAlgorithmParametersStringcallMethod("GetKeyAlgorithmParametersString",[])string GetKeyAlgorithmParametersString()
GetNamecallMethod("GetName",[])string GetName()
GetPublicKeycallMethod("GetPublicKey",[])byte[] GetPublicKey()
GetPublicKeyStringcallMethod("GetPublicKeyString",[])string GetPublicKeyString()
GetRawCertDatacallMethod("GetRawCertData",[])byte[] GetRawCertData()
GetRawCertDataStringcallMethod("GetRawCertDataString",[])string GetRawCertDataString()
GetSerialNumbercallMethod("GetSerialNumber",[])byte[] GetSerialNumber()
GetSerialNumberStringcallMethod("GetSerialNumberString",[])string GetSerialNumberString()
ImportcallMethod("Import",[p1])
callMethod("Import",[p1,p2,p3])
void Import(byte[] rawData)
void Import(byte[] rawData, string password, X509KeyStorageFlags keyStorageFlags)
void Import(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)
void Import(string fileName)
void Import(string fileName, string password, X509KeyStorageFlags keyStorageFlags)
void Import(string fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)
ResetcallMethod("Reset",[])void Reset()
ToStringcallMethod("ToString",[])
callMethod("ToString",[p1])
string ToString()
string ToString(bool fVerbose)
TryGetCertHashTryGetCertHash(p1,p2)bool TryGetCertHash(HashAlgorithmName hashAlgorithm, Span<byte> destination, out int bytesWritten)
X509Certificate2 class · extends X509Certificate

System.Security.Cryptography.X509Certificates.X509Certificate2 · assembly System.Security.Cryptography

Implements: IDisposable, IDeserializationCallback, ISerializable

Constructors

new X509Certificate2()
new X509Certificate2(byte[] rawData)
new X509Certificate2(byte[] rawData, string password)
new X509Certificate2(byte[] rawData, SecureString password)
new X509Certificate2(byte[] rawData, string password, X509KeyStorageFlags keyStorageFlags)
new X509Certificate2(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)
new X509Certificate2(ReadOnlySpan<byte> rawData)
new X509Certificate2(ReadOnlySpan<byte> rawData, ReadOnlySpan<char> password, X509KeyStorageFlags keyStorageFlags = …)
new X509Certificate2(IntPtr handle)
new X509Certificate2(string fileName)
new X509Certificate2(string fileName, string password)
new X509Certificate2(string fileName, SecureString password)
new X509Certificate2(string fileName, string password, X509KeyStorageFlags keyStorageFlags)
new X509Certificate2(string fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)
new X509Certificate2(string fileName, ReadOnlySpan<char> password, X509KeyStorageFlags keyStorageFlags = …)
new X509Certificate2(X509Certificate certificate)

Ring: new X509Certificate2(args) uses one constructor; the others are chosen by the parameter names: new X509Certificate2().@New([ :param = value ]) or dnNew("X509Certificate2",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Archivedboolread, writeo.Archived o.Archived = v
ExtensionsX509ExtensionCollectionreado.Extensions
FriendlyNamestringread, writeo.FriendlyName o.FriendlyName = v
HasPrivateKeyboolreado.HasPrivateKey
PrivateKeyAsymmetricAlgorithmread, writeo.PrivateKey o.PrivateKey = v
IssuerNameX500DistinguishedNamereado.IssuerName
NotAfterDateTimereado.NotAfter
NotBeforeDateTimereado.NotBefore
PublicKeyPublicKeyreado.PublicKey
RawDatabyte[]reado.RawData
RawDataMemoryReadOnlyMemory<byte>reado.RawDataMemory
SerialNumberstringreado.SerialNumber
SignatureAlgorithmOidreado.SignatureAlgorithm
SubjectNameX500DistinguishedNamereado.SubjectName
Thumbprintstringreado.Thumbprint
Versionintreado.Version

Methods

MethodRing call.NET overloads
CopyWithPrivateKeycallMethod("CopyWithPrivateKey",[p1])X509Certificate2 CopyWithPrivateKey(ECDiffieHellman privateKey)
CreateFromEncryptedPemCreateFromEncryptedPem(p1,p2,p3)static X509Certificate2 CreateFromEncryptedPem(ReadOnlySpan<char> certPem, ReadOnlySpan<char> keyPem, ReadOnlySpan<char> password)
CreateFromEncryptedPemFileCreateFromEncryptedPemFile([ :certPemFilePath = …, :password = …, :keyPemFilePath = … ])static X509Certificate2 CreateFromEncryptedPemFile(string certPemFilePath, ReadOnlySpan<char> password, string keyPemFilePath = …)
CreateFromPemCreateFromPem(value)
CreateFromPem([ :certPem = … ])
CreateFromPem([ :certPem = …, :keyPem = … ])
static X509Certificate2 CreateFromPem(ReadOnlySpan<char> certPem, ReadOnlySpan<char> keyPem)
static X509Certificate2 CreateFromPem(ReadOnlySpan<char> certPem)
CreateFromPemFileCreateFromPemFile([ :certPemFilePath = …, :keyPemFilePath = … ])static X509Certificate2 CreateFromPemFile(string certPemFilePath, string keyPemFilePath = …)
ExportCertificatePemcallMethod("ExportCertificatePem",[])string ExportCertificatePem()
GetCertContentTypeGetCertContentType(p1)static X509ContentType GetCertContentType(byte[] rawData)
static X509ContentType GetCertContentType(ReadOnlySpan<byte> rawData)
static X509ContentType GetCertContentType(string fileName)
GetECDiffieHellmanPrivateKeycallMethod("GetECDiffieHellmanPrivateKey",[])ECDiffieHellman GetECDiffieHellmanPrivateKey()
GetECDiffieHellmanPublicKeycallMethod("GetECDiffieHellmanPublicKey",[])ECDiffieHellman GetECDiffieHellmanPublicKey()
GetNameInfoGetNameInfo(p1,p2)string GetNameInfo(X509NameType nameType, bool forIssuer)
ImportcallMethod("Import",[p1])
callMethod("Import",[p1,p2,p3])
void Import(byte[] rawData)
void Import(byte[] rawData, string password, X509KeyStorageFlags keyStorageFlags)
void Import(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)
void Import(string fileName)
void Import(string fileName, string password, X509KeyStorageFlags keyStorageFlags)
void Import(string fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)
MatchesHostnamecallMethod("MatchesHostname",[p1,p2,p3])bool MatchesHostname(string hostname, bool allowWildcards = …, bool allowCommonName = …)
ResetcallMethod("Reset",[])void Reset()
ToStringcallMethod("ToString",[])
callMethod("ToString",[p1])
string ToString()
string ToString(bool verbose)
TryExportCertificatePemTryExportCertificatePem(p1)bool TryExportCertificatePem(Span<char> destination, out int charsWritten)
VerifycallMethod("Verify",[])bool Verify()

Members of the base class are inherited.

X509Certificate2Collection class · extends X509CertificateCollection

System.Security.Cryptography.X509Certificates.X509Certificate2Collection · assembly System.Security.Cryptography

Implements: IList, ICollection, IEnumerable

Constructors

new X509Certificate2Collection()
new X509Certificate2Collection(X509Certificate2 certificate)
new X509Certificate2Collection(X509Certificate2[] certificates)
new X509Certificate2Collection(X509Certificate2Collection certificates)

Ring: new X509Certificate2Collection(args) uses one constructor; the others are chosen by the parameter names: new X509Certificate2Collection().@New([ :param = value ]) or dnNew("X509Certificate2Collection",[ :param = value ]).

Indexer

o.Item(int index) → X509Certificate2 · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AddAdd(p1)int Add(X509Certificate2 certificate)
AddRangeAddRange(p1)void AddRange(X509Certificate2[] certificates)
void AddRange(X509Certificate2Collection certificates)
ContainsContains(p1)bool Contains(X509Certificate2 certificate)
ExportExport(value)
Export([ :contentType = … ])
Export([ :contentType = …, :password = … ])
byte[] Export(X509ContentType contentType)
byte[] Export(X509ContentType contentType, string password)
ExportCertificatePemscallMethod("ExportCertificatePems",[])string ExportCertificatePems()
ExportPkcs7PemcallMethod("ExportPkcs7Pem",[])string ExportPkcs7Pem()
FindcallMethod("Find",[p1,p2,p3])X509Certificate2Collection Find(X509FindType findType, object findValue, bool validOnly)
GetEnumeratorcallMethod("GetEnumerator",[])X509Certificate2Enumerator GetEnumerator()
ImportcallMethod("Import",[p1])
callMethod("Import",[p1,p2,p3])
void Import(byte[] rawData)
void Import(ReadOnlySpan<byte> rawData)
void Import(byte[] rawData, string password, X509KeyStorageFlags keyStorageFlags = …)
void Import(ReadOnlySpan<byte> rawData, string password, X509KeyStorageFlags keyStorageFlags = …)
void Import(ReadOnlySpan<byte> rawData, ReadOnlySpan<char> password, X509KeyStorageFlags keyStorageFlags = …)
void Import(string fileName)
void Import(string fileName, string password, X509KeyStorageFlags keyStorageFlags = …)
void Import(string fileName, ReadOnlySpan<char> password, X509KeyStorageFlags keyStorageFlags = …)
ImportFromPemImportFromPem(p1)void ImportFromPem(ReadOnlySpan<char> certPem)
ImportFromPemFilecallMethod("ImportFromPemFile",[p1])void ImportFromPemFile(string certPemFilePath)
InsertInsert(p1,p2)void Insert(int index, X509Certificate2 certificate)
RemoveRemove(p1)void Remove(X509Certificate2 certificate)
RemoveRangeRemoveRange(p1)void RemoveRange(X509Certificate2[] certificates)
void RemoveRange(X509Certificate2Collection certificates)
TryExportCertificatePemsTryExportCertificatePems(p1)bool TryExportCertificatePems(Span<char> destination, out int charsWritten)
TryExportPkcs7PemTryExportPkcs7Pem(p1)bool TryExportPkcs7Pem(Span<char> destination, out int charsWritten)

Members of the base class are inherited.

X509Certificate2Enumerator class sealed

System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator · assembly System.Security.Cryptography

Implements: IEnumerator, IDisposable

Properties and fields

NameTypeAccessIn Ring
CurrentX509Certificate2reado.Current

Methods

MethodRing call.NET overloads
MoveNextcallMethod("MoveNext",[])bool MoveNext()
ResetcallMethod("Reset",[])void Reset()
X509CertificateCollection class · extends CollectionBase

System.Security.Cryptography.X509Certificates.X509CertificateCollection · assembly System.Security.Cryptography

Implements: IList, ICollection, IEnumerable

Constructors

new X509CertificateCollection()
new X509CertificateCollection(X509Certificate[] value)
new X509CertificateCollection(X509CertificateCollection value)

Ring: new X509CertificateCollection(args) uses one constructor; the others are chosen by the parameter names: new X509CertificateCollection().@New([ :param = value ]) or dnNew("X509CertificateCollection",[ :param = value ]).

Indexer

o.Item(int index) → X509Certificate · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AddAdd(p1)int Add(X509Certificate value)
AddRangeAddRange(p1)void AddRange(X509Certificate[] value)
void AddRange(X509CertificateCollection value)
ContainsContains(p1)bool Contains(X509Certificate value)
CopyToCopyTo(p1,p2)void CopyTo(X509Certificate[] array, int index)
GetEnumeratorcallMethod("GetEnumerator",[])X509CertificateCollection.X509CertificateEnumerator GetEnumerator()
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
IndexOfIndexOf(p1)int IndexOf(X509Certificate value)
InsertInsert(p1,p2)void Insert(int index, X509Certificate value)
RemoveRemove(p1)void Remove(X509Certificate value)

Members of the base class are inherited.

X509CertificateCollectionX509CertificateEnumerator class

System.Security.Cryptography.X509Certificates.X509CertificateCollection+X509CertificateEnumerator · assembly System.Security.Cryptography

Implements: IEnumerator

Constructors

new X509CertificateCollectionX509CertificateEnumerator(X509CertificateCollection mappings)

Ring: new X509CertificateCollectionX509CertificateEnumerator(args) uses one constructor; the others are chosen by the parameter names: new X509CertificateCollectionX509CertificateEnumerator().@New([ :param = value ]) or dnNew("X509CertificateCollectionX509CertificateEnumerator",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CurrentX509Certificatereado.Current

Methods

MethodRing call.NET overloads
MoveNextcallMethod("MoveNext",[])bool MoveNext()
ResetcallMethod("Reset",[])void Reset()
X509CertificateLoader class static

System.Security.Cryptography.X509Certificates.X509CertificateLoader · assembly System.Security.Cryptography

Methods

MethodRing call.NET overloads
LoadCertificateLoadCertificate(p1)static X509Certificate2 LoadCertificate(ReadOnlySpan<byte> data)
static X509Certificate2 LoadCertificate(byte[] data)
LoadCertificateFromFileLoadCertificateFromFile(p1)static X509Certificate2 LoadCertificateFromFile(string path)
LoadPkcs12LoadPkcs12([ :data = …, :password = …, :keyStorageFlags = …, :loaderLimits = … ])static X509Certificate2 LoadPkcs12(byte[] data, string password, X509KeyStorageFlags keyStorageFlags = …, Pkcs12LoaderLimits loaderLimits = …)
static X509Certificate2 LoadPkcs12(ReadOnlySpan<byte> data, ReadOnlySpan<char> password, X509KeyStorageFlags keyStorageFlags = …, Pkcs12LoaderLimits loaderLimits = …)
LoadPkcs12CollectionLoadPkcs12Collection([ :data = …, :password = …, :keyStorageFlags = …, :loaderLimits = … ])static X509Certificate2Collection LoadPkcs12Collection(byte[] data, string password, X509KeyStorageFlags keyStorageFlags = …, Pkcs12LoaderLimits loaderLimits = …)
static X509Certificate2Collection LoadPkcs12Collection(ReadOnlySpan<byte> data, ReadOnlySpan<char> password, X509KeyStorageFlags keyStorageFlags = …, Pkcs12LoaderLimits loaderLimits = …)
LoadPkcs12CollectionFromFileLoadPkcs12CollectionFromFile([ :path = …, :password = …, :keyStorageFlags = …, :loaderLimits = … ])static X509Certificate2Collection LoadPkcs12CollectionFromFile(string path, string password, X509KeyStorageFlags keyStorageFlags = …, Pkcs12LoaderLimits loaderLimits = …)
static X509Certificate2Collection LoadPkcs12CollectionFromFile(string path, ReadOnlySpan<char> password, X509KeyStorageFlags keyStorageFlags = …, Pkcs12LoaderLimits loaderLimits = …)
LoadPkcs12FromFileLoadPkcs12FromFile([ :path = …, :password = …, :keyStorageFlags = …, :loaderLimits = … ])static X509Certificate2 LoadPkcs12FromFile(string path, string password, X509KeyStorageFlags keyStorageFlags = …, Pkcs12LoaderLimits loaderLimits = …)
static X509Certificate2 LoadPkcs12FromFile(string path, ReadOnlySpan<char> password, X509KeyStorageFlags keyStorageFlags = …, Pkcs12LoaderLimits loaderLimits = …)
X509Chain class

System.Security.Cryptography.X509Certificates.X509Chain · assembly System.Security.Cryptography

Implements: IDisposable

Constructors

new X509Chain()
new X509Chain(bool useMachineContext)
new X509Chain(IntPtr chainContext)

Ring: new X509Chain(args) uses one constructor; the others are chosen by the parameter names: new X509Chain().@New([ :param = value ]) or dnNew("X509Chain",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ChainElementsX509ChainElementCollectionreado.ChainElements
ChainPolicyX509ChainPolicyread, writeo.ChainPolicy o.ChainPolicy = v
ChainStatusX509ChainStatus[]reado.ChainStatus
ChainContextIntPtrreado.ChainContext
SafeHandleSafeX509ChainHandlereado.SafeHandle

Methods

MethodRing call.NET overloads
BuildBuild(p1)bool Build(X509Certificate2 certificate)
CreateCreate()static X509Chain Create()
DisposecallMethod("Dispose",[])void Dispose()
ResetcallMethod("Reset",[])void Reset()
X509ChainElement class

System.Security.Cryptography.X509Certificates.X509ChainElement · assembly System.Security.Cryptography

Properties and fields

NameTypeAccessIn Ring
CertificateX509Certificate2reado.Certificate
ChainElementStatusX509ChainStatus[]reado.ChainElementStatus
Informationstringreado.Information
X509ChainElementCollection class sealed

System.Security.Cryptography.X509Certificates.X509ChainElementCollection · assembly System.Security.Cryptography

Implements: ICollection, IEnumerable

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count
IsSynchronizedboolreado.IsSynchronized
SyncRootobjectreado.SyncRoot

Indexer

o.Item(int index) → X509ChainElement

Methods

MethodRing call.NET overloads
CopyToCopyTo(p1,p2)void CopyTo(X509ChainElement[] array, int index)
GetEnumeratorcallMethod("GetEnumerator",[])X509ChainElementEnumerator GetEnumerator()
X509ChainElementEnumerator class sealed

System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator · assembly System.Security.Cryptography

Implements: IEnumerator, IDisposable

Properties and fields

NameTypeAccessIn Ring
CurrentX509ChainElementreado.Current

Methods

MethodRing call.NET overloads
MoveNextcallMethod("MoveNext",[])bool MoveNext()
ResetcallMethod("Reset",[])void Reset()
X509ChainPolicy class sealed

System.Security.Cryptography.X509Certificates.X509ChainPolicy · assembly System.Security.Cryptography

Constructors

new X509ChainPolicy()

Ring: new X509ChainPolicy(args) uses one constructor; the others are chosen by the parameter names: new X509ChainPolicy().@New([ :param = value ]) or dnNew("X509ChainPolicy",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
DisableCertificateDownloadsboolread, writeo.DisableCertificateDownloads o.DisableCertificateDownloads = v
VerificationTimeIgnoredboolread, writeo.VerificationTimeIgnored o.VerificationTimeIgnored = v
ApplicationPolicyOidCollectionreado.ApplicationPolicy
CertificatePolicyOidCollectionreado.CertificatePolicy
ExtraStoreX509Certificate2Collectionreado.ExtraStore
CustomTrustStoreX509Certificate2Collectionreado.CustomTrustStore
RevocationModeX509RevocationModeread, writeo.RevocationMode o.RevocationMode = v
RevocationFlagX509RevocationFlagread, writeo.RevocationFlag o.RevocationFlag = v
VerificationFlagsX509VerificationFlagsread, writeo.VerificationFlags o.VerificationFlags = v
TrustModeX509ChainTrustModeread, writeo.TrustMode o.TrustMode = v
VerificationTimeDateTimeread, writeo.VerificationTime o.VerificationTime = v
UrlRetrievalTimeoutTimeSpanread, writeo.UrlRetrievalTimeout o.UrlRetrievalTimeout = v

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])X509ChainPolicy Clone()
ResetcallMethod("Reset",[])void Reset()
X509ChainStatus struct

System.Security.Cryptography.X509Certificates.X509ChainStatus · assembly System.Security.Cryptography

Properties and fields

NameTypeAccessIn Ring
StatusX509ChainStatusFlagsread, writeo.Status o.Status = v
StatusInformationstringread, writeo.StatusInformation o.StatusInformation = v
X509EnhancedKeyUsageExtension class sealed · extends X509Extension

System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension · assembly System.Security.Cryptography

Constructors

new X509EnhancedKeyUsageExtension()
new X509EnhancedKeyUsageExtension(AsnEncodedData encodedEnhancedKeyUsages, bool critical)
new X509EnhancedKeyUsageExtension(OidCollection enhancedKeyUsages, bool critical)

Ring: new X509EnhancedKeyUsageExtension(args) uses one constructor; the others are chosen by the parameter names: new X509EnhancedKeyUsageExtension().@New([ :param = value ]) or dnNew("X509EnhancedKeyUsageExtension",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
EnhancedKeyUsagesOidCollectionreado.EnhancedKeyUsages

Methods

MethodRing call.NET overloads
CopyFromCopyFrom(p1)void CopyFrom(AsnEncodedData asnEncodedData)

Members of the base class are inherited.

X509Extension class · extends AsnEncodedData

System.Security.Cryptography.X509Certificates.X509Extension · assembly System.Security.Cryptography

Constructors

new X509Extension(AsnEncodedData encodedExtension, bool critical)
new X509Extension(Oid oid, byte[] rawData, bool critical)
new X509Extension(Oid oid, ReadOnlySpan<byte> rawData, bool critical)
new X509Extension(string oid, byte[] rawData, bool critical)
new X509Extension(string oid, ReadOnlySpan<byte> rawData, bool critical)

Ring: new X509Extension(args) uses one constructor; the others are chosen by the parameter names: new X509Extension().@New([ :param = value ]) or dnNew("X509Extension",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Criticalboolread, writeo.Critical o.Critical = v

Methods

MethodRing call.NET overloads
CopyFromCopyFrom(p1)void CopyFrom(AsnEncodedData asnEncodedData)

Members of the base class are inherited.

X509ExtensionCollection class sealed

System.Security.Cryptography.X509Certificates.X509ExtensionCollection · assembly System.Security.Cryptography

Implements: ICollection, IEnumerable

Constructors

new X509ExtensionCollection()

Ring: new X509ExtensionCollection(args) uses one constructor; the others are chosen by the parameter names: new X509ExtensionCollection().@New([ :param = value ]) or dnNew("X509ExtensionCollection",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count
IsSynchronizedboolreado.IsSynchronized
SyncRootobjectreado.SyncRoot

Indexer

o.Item(int index) → X509Extension

Methods

MethodRing call.NET overloads
AddAdd(p1)int Add(X509Extension extension)
CopyToCopyTo(p1,p2)void CopyTo(X509Extension[] array, int index)
GetEnumeratorcallMethod("GetEnumerator",[])X509ExtensionEnumerator GetEnumerator()
X509ExtensionEnumerator class sealed

System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator · assembly System.Security.Cryptography

Implements: IEnumerator, IDisposable

Properties and fields

NameTypeAccessIn Ring
CurrentX509Extensionreado.Current

Methods

MethodRing call.NET overloads
MoveNextcallMethod("MoveNext",[])bool MoveNext()
ResetcallMethod("Reset",[])void Reset()
X509KeyUsageExtension class sealed · extends X509Extension

System.Security.Cryptography.X509Certificates.X509KeyUsageExtension · assembly System.Security.Cryptography

Constructors

new X509KeyUsageExtension()
new X509KeyUsageExtension(AsnEncodedData encodedKeyUsage, bool critical)
new X509KeyUsageExtension(X509KeyUsageFlags keyUsages, bool critical)

Ring: new X509KeyUsageExtension(args) uses one constructor; the others are chosen by the parameter names: new X509KeyUsageExtension().@New([ :param = value ]) or dnNew("X509KeyUsageExtension",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
KeyUsagesX509KeyUsageFlagsreado.KeyUsages

Methods

MethodRing call.NET overloads
CopyFromCopyFrom(p1)void CopyFrom(AsnEncodedData asnEncodedData)

Members of the base class are inherited.

X509SignatureGenerator class abstract

System.Security.Cryptography.X509Certificates.X509SignatureGenerator · assembly System.Security.Cryptography

Properties and fields

NameTypeAccessIn Ring
PublicKeyPublicKeyreado.PublicKey

Methods

MethodRing call.NET overloads
CreateForECDsaCreateForECDsa(p1)static X509SignatureGenerator CreateForECDsa(ECDsa key)
CreateForRSACreateForRSA(p1,p2)static X509SignatureGenerator CreateForRSA(RSA key, RSASignaturePadding signaturePadding)
GetSignatureAlgorithmIdentifiercallMethod("GetSignatureAlgorithmIdentifier",[p1])byte[] GetSignatureAlgorithmIdentifier(HashAlgorithmName hashAlgorithm)
SignDatacallMethod("SignData",[p1,p2])byte[] SignData(byte[] data, HashAlgorithmName hashAlgorithm)
X509Store class sealed

System.Security.Cryptography.X509Certificates.X509Store · assembly System.Security.Cryptography

Implements: IDisposable

Constructors

new X509Store()
new X509Store(string storeName)
new X509Store(StoreName storeName)
new X509Store(StoreLocation storeLocation)
new X509Store(StoreName storeName, StoreLocation storeLocation)
new X509Store(StoreName storeName, StoreLocation storeLocation, OpenFlags flags)
new X509Store(string storeName, StoreLocation storeLocation)
new X509Store(string storeName, StoreLocation storeLocation, OpenFlags flags)
new X509Store(IntPtr storeHandle)

Ring: new X509Store(args) uses one constructor; the others are chosen by the parameter names: new X509Store().@New([ :param = value ]) or dnNew("X509Store",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
StoreHandleIntPtrreado.StoreHandle
LocationStoreLocationreado.Location
Namestringreado.Name
CertificatesX509Certificate2Collectionreado.Certificates
IsOpenboolreado.IsOpen

Methods

MethodRing call.NET overloads
AddAdd(p1)void Add(X509Certificate2 certificate)
AddRangeAddRange(p1)void AddRange(X509Certificate2Collection certificates)
ClosecallMethod("Close",[])void Close()
DisposecallMethod("Dispose",[])void Dispose()
OpenOpen(p1)void Open(OpenFlags flags)
RemoveRemove(p1)void Remove(X509Certificate2 certificate)
RemoveRangeRemoveRange(p1)void RemoveRange(X509Certificate2Collection certificates)
X509SubjectAlternativeNameExtension class sealed · extends X509Extension

System.Security.Cryptography.X509Certificates.X509SubjectAlternativeNameExtension · assembly System.Security.Cryptography

Constructors

new X509SubjectAlternativeNameExtension()
new X509SubjectAlternativeNameExtension(byte[] rawData, bool critical = …)
new X509SubjectAlternativeNameExtension(ReadOnlySpan<byte> rawData, bool critical = …)

Ring: new X509SubjectAlternativeNameExtension(args) uses one constructor; the others are chosen by the parameter names: new X509SubjectAlternativeNameExtension().@New([ :param = value ]) or dnNew("X509SubjectAlternativeNameExtension",[ :param = value ]).

Methods

MethodRing call.NET overloads
CopyFromCopyFrom(p1)void CopyFrom(AsnEncodedData asnEncodedData)
EnumerateDnsNamescallMethod("EnumerateDnsNames",[])IEnumerable<string> EnumerateDnsNames()
EnumerateIPAddressescallMethod("EnumerateIPAddresses",[])IEnumerable<IPAddress> EnumerateIPAddresses()

Members of the base class are inherited.

X509SubjectKeyIdentifierExtension class sealed · extends X509Extension

System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension · assembly System.Security.Cryptography

Constructors

new X509SubjectKeyIdentifierExtension()
new X509SubjectKeyIdentifierExtension(AsnEncodedData encodedSubjectKeyIdentifier, bool critical)
new X509SubjectKeyIdentifierExtension(byte[] subjectKeyIdentifier, bool critical)
new X509SubjectKeyIdentifierExtension(ReadOnlySpan<byte> subjectKeyIdentifier, bool critical)
new X509SubjectKeyIdentifierExtension(PublicKey key, bool critical)
new X509SubjectKeyIdentifierExtension(PublicKey key, X509SubjectKeyIdentifierHashAlgorithm algorithm, bool critical)
new X509SubjectKeyIdentifierExtension(string subjectKeyIdentifier, bool critical)

Ring: new X509SubjectKeyIdentifierExtension(args) uses one constructor; the others are chosen by the parameter names: new X509SubjectKeyIdentifierExtension().@New([ :param = value ]) or dnNew("X509SubjectKeyIdentifierExtension",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
SubjectKeyIdentifierstringreado.SubjectKeyIdentifier
SubjectKeyIdentifierBytesReadOnlyMemory<byte>reado.SubjectKeyIdentifierBytes

Methods

MethodRing call.NET overloads
CopyFromCopyFrom(p1)void CopyFrom(AsnEncodedData asnEncodedData)

Members of the base class are inherited.