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
| Name | Type | Access | In Ring |
|---|---|---|---|
SubjectName | X500DistinguishedName | read | o.SubjectName |
CertificateExtensions | Collection<X509Extension> | read | o.CertificateExtensions |
OtherRequestAttributes | Collection<AsnEncodedData> | read | o.OtherRequestAttributes |
PublicKey | PublicKey | read | o.PublicKey |
HashAlgorithm | HashAlgorithmName | read | o.HashAlgorithm |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create([ :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) |
CreateSelfSigned | callMethod("CreateSelfSigned",[p1,p2]) | X509Certificate2 CreateSelfSigned(DateTimeOffset notBefore, DateTimeOffset notAfter) |
CreateSigningRequest | CreateSigningRequest(NULL)CreateSigningRequest(value)CreateSigningRequest([ :signatureGenerator = … ]) | byte[] CreateSigningRequest()byte[] CreateSigningRequest(X509SignatureGenerator signatureGenerator) |
CreateSigningRequestPem | callMethod("CreateSigningRequestPem",[])callMethod("CreateSigningRequestPem",[p1]) | string CreateSigningRequestPem()string CreateSigningRequestPem(X509SignatureGenerator signatureGenerator) |
LoadSigningRequest | LoadSigningRequest([ :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 = …) |
LoadSigningRequestPem | LoadSigningRequestPem([ :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
| Method | Ring call | .NET overloads |
|---|---|---|
AddEntry | callMethod("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 = …) |
Build | Build([ :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 = …) |
BuildCrlDistributionPointExtension | BuildCrlDistributionPointExtension([ :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) |
LoadPem | LoadPem(p1) | static CertificateRevocationListBuilder LoadPem(string currentCrl, out BigInteger currentCrlNumber)static CertificateRevocationListBuilder LoadPem(ReadOnlySpan<char> currentCrl, out BigInteger currentCrlNumber) |
RemoveEntry | RemoveEntry(p1) | bool RemoveEntry(byte[] serialNumber)bool RemoveEntry(ReadOnlySpan<byte> serialNumber) |
DSACertificateExtensions class static
System.Security.Cryptography.X509Certificates.DSACertificateExtensions · assembly System.Security.Cryptography
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyWithPrivateKey | CopyWithPrivateKey(p1,p2) | static X509Certificate2 CopyWithPrivateKey(X509Certificate2 certificate, DSA privateKey) |
GetDSAPrivateKey | GetDSAPrivateKey(p1) | static DSA GetDSAPrivateKey(X509Certificate2 certificate) |
GetDSAPublicKey | GetDSAPublicKey(p1) | static DSA GetDSAPublicKey(X509Certificate2 certificate) |
ECDsaCertificateExtensions class static
System.Security.Cryptography.X509Certificates.ECDsaCertificateExtensions · assembly System.Security.Cryptography
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyWithPrivateKey | CopyWithPrivateKey(p1,p2) | static X509Certificate2 CopyWithPrivateKey(X509Certificate2 certificate, ECDsa privateKey) |
GetECDsaPrivateKey | GetECDsaPrivateKey(p1) | static ECDsa GetECDsaPrivateKey(X509Certificate2 certificate) |
GetECDsaPublicKey | GetECDsaPublicKey(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
| Name | Type | Access | In Ring |
|---|---|---|---|
IsReadOnly | bool | read | o.IsReadOnly |
MacIterationLimit | int? | read, write | o.MacIterationLimit o.MacIterationLimit = v |
IndividualKdfIterationLimit | int? | read, write | o.IndividualKdfIterationLimit o.IndividualKdfIterationLimit = v |
TotalKdfIterationLimit | int? | read, write | o.TotalKdfIterationLimit o.TotalKdfIterationLimit = v |
MaxKeys | int? | read, write | o.MaxKeys o.MaxKeys = v |
MaxCertificates | int? | read, write | o.MaxCertificates o.MaxCertificates = v |
PreserveStorageProvider | bool | read, write | o.PreserveStorageProvider o.PreserveStorageProvider = v |
PreserveKeyName | bool | read, write | o.PreserveKeyName o.PreserveKeyName = v |
PreserveCertificateAlias | bool | read, write | o.PreserveCertificateAlias o.PreserveCertificateAlias = v |
PreserveUnknownAttributes | bool | read, write | o.PreserveUnknownAttributes o.PreserveUnknownAttributes = v |
IgnorePrivateKeys | bool | read, write | o.IgnorePrivateKeys o.IgnorePrivateKeys = v |
IgnoreEncryptedAuthSafes | bool | read, write | o.IgnoreEncryptedAuthSafes o.IgnoreEncryptedAuthSafes = v |
Defaults | Pkcs12LoaderLimits | read · static | o.Defaults |
DangerousNoLimits | Pkcs12LoaderLimits | read · static | o.DangerousNoLimits |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MakeReadOnly | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
EncodedKeyValue | AsnEncodedData | read | o.EncodedKeyValue |
EncodedParameters | AsnEncodedData | read | o.EncodedParameters |
Key | AsymmetricAlgorithm | read | o.Key |
Oid | Oid | read | o.Oid |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateFromSubjectPublicKeyInfo | CreateFromSubjectPublicKeyInfo(p1) | static PublicKey CreateFromSubjectPublicKeyInfo(ReadOnlySpan<byte> source, out int bytesRead) |
ExportSubjectPublicKeyInfo | callMethod("ExportSubjectPublicKeyInfo",[]) | byte[] ExportSubjectPublicKeyInfo() |
GetDSAPublicKey | callMethod("GetDSAPublicKey",[]) | DSA GetDSAPublicKey() |
GetECDiffieHellmanPublicKey | callMethod("GetECDiffieHellmanPublicKey",[]) | ECDiffieHellman GetECDiffieHellmanPublicKey() |
GetECDsaPublicKey | callMethod("GetECDsaPublicKey",[]) | ECDsa GetECDsaPublicKey() |
GetRSAPublicKey | callMethod("GetRSAPublicKey",[]) | RSA GetRSAPublicKey() |
TryExportSubjectPublicKeyInfo | TryExportSubjectPublicKeyInfo(p1) | bool TryExportSubjectPublicKeyInfo(Span<byte> destination, out int bytesWritten) |
RSACertificateExtensions class static
System.Security.Cryptography.X509Certificates.RSACertificateExtensions · assembly System.Security.Cryptography
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyWithPrivateKey | CopyWithPrivateKey(p1,p2) | static X509Certificate2 CopyWithPrivateKey(X509Certificate2 certificate, RSA privateKey) |
GetRSAPrivateKey | GetRSAPrivateKey(p1) | static RSA GetRSAPrivateKey(X509Certificate2 certificate) |
GetRSAPublicKey | GetRSAPublicKey(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
| Method | Ring call | .NET overloads |
|---|---|---|
AddDnsName | callMethod("AddDnsName",[p1]) | void AddDnsName(string dnsName) |
AddEmailAddress | callMethod("AddEmailAddress",[p1]) | void AddEmailAddress(string emailAddress) |
AddIpAddress | AddIpAddress(p1) | void AddIpAddress(IPAddress ipAddress) |
AddUri | AddUri(p1) | void AddUri(Uri uri) |
AddUserPrincipalName | callMethod("AddUserPrincipalName",[p1]) | void AddUserPrincipalName(string upn) |
Build | Build(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Decode | Decode(p1) | string Decode(X500DistinguishedNameFlags flag) |
EnumerateRelativeDistinguishedNames | EnumerateRelativeDistinguishedNames(value)EnumerateRelativeDistinguishedNames([ :reversed = … ]) | IEnumerable<X500RelativeDistinguishedName> EnumerateRelativeDistinguishedNames(bool reversed = …) |
Format | callMethod("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
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add([ :oidValue = …, :value = …, :stringEncodingType = … ])Add([ :oid = …, :value = …, :stringEncodingType = … ]) | void Add(string oidValue, string value, UniversalTagNumber? stringEncodingType = …)void Add(Oid oid, string value, UniversalTagNumber? stringEncodingType = …) |
AddCommonName | callMethod("AddCommonName",[p1]) | void AddCommonName(string commonName) |
AddCountryOrRegion | callMethod("AddCountryOrRegion",[p1]) | void AddCountryOrRegion(string twoLetterCode) |
AddDomainComponent | callMethod("AddDomainComponent",[p1]) | void AddDomainComponent(string domainComponent) |
AddEmailAddress | callMethod("AddEmailAddress",[p1]) | void AddEmailAddress(string emailAddress) |
AddLocalityName | callMethod("AddLocalityName",[p1]) | void AddLocalityName(string localityName) |
AddOrganizationalUnitName | callMethod("AddOrganizationalUnitName",[p1]) | void AddOrganizationalUnitName(string organizationalUnitName) |
AddOrganizationName | callMethod("AddOrganizationName",[p1]) | void AddOrganizationName(string organizationName) |
AddStateOrProvinceName | callMethod("AddStateOrProvinceName",[p1]) | void AddStateOrProvinceName(string stateOrProvinceName) |
Build | callMethod("Build",[]) | X500DistinguishedName Build() |
X500RelativeDistinguishedName class sealed
System.Security.Cryptography.X509Certificates.X500RelativeDistinguishedName · assembly System.Security.Cryptography
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
RawData | ReadOnlyMemory<byte> | read | o.RawData |
HasMultipleElements | bool | read | o.HasMultipleElements |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetSingleElementType | callMethod("GetSingleElementType",[]) | Oid GetSingleElementType() |
GetSingleElementValue | callMethod("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
| Method | Ring call | .NET overloads |
|---|---|---|
CopyFrom | CopyFrom(p1) | void CopyFrom(AsnEncodedData asnEncodedData) |
EnumerateCAIssuersUris | callMethod("EnumerateCAIssuersUris",[]) | IEnumerable<string> EnumerateCAIssuersUris() |
EnumerateOcspUris | callMethod("EnumerateOcspUris",[]) | IEnumerable<string> EnumerateOcspUris() |
EnumerateUris | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
KeyIdentifier | ReadOnlyMemory<byte>? | read | o.KeyIdentifier |
NamedIssuer | X500DistinguishedName | read | o.NamedIssuer |
RawIssuer | ReadOnlyMemory<byte>? | read | o.RawIssuer |
SerialNumber | ReadOnlyMemory<byte>? | read | o.SerialNumber |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyFrom | CopyFrom(p1) | void CopyFrom(AsnEncodedData asnEncodedData) |
Create | Create(p1,p2,p3) | static X509AuthorityKeyIdentifierExtension Create(byte[] keyIdentifier, X500DistinguishedName issuerName, byte[] serialNumber)static X509AuthorityKeyIdentifierExtension Create(ReadOnlySpan<byte> keyIdentifier, X500DistinguishedName issuerName, ReadOnlySpan<byte> serialNumber) |
CreateFromCertificate | CreateFromCertificate(p1,p2,p3) | static X509AuthorityKeyIdentifierExtension CreateFromCertificate(X509Certificate2 certificate, bool includeKeyIdentifier, bool includeIssuerAndSerial) |
CreateFromIssuerNameAndSerialNumber | CreateFromIssuerNameAndSerialNumber(p1,p2) | static X509AuthorityKeyIdentifierExtension CreateFromIssuerNameAndSerialNumber(X500DistinguishedName issuerName, byte[] serialNumber)static X509AuthorityKeyIdentifierExtension CreateFromIssuerNameAndSerialNumber(X500DistinguishedName issuerName, ReadOnlySpan<byte> serialNumber) |
CreateFromSubjectKeyIdentifier | CreateFromSubjectKeyIdentifier(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
| Name | Type | Access | In Ring |
|---|---|---|---|
CertificateAuthority | bool | read | o.CertificateAuthority |
HasPathLengthConstraint | bool | read | o.HasPathLengthConstraint |
PathLengthConstraint | int | read | o.PathLengthConstraint |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyFrom | CopyFrom(p1) | void CopyFrom(AsnEncodedData asnEncodedData) |
CreateForCertificateAuthority | CreateForCertificateAuthority(value)CreateForCertificateAuthority([ :pathLengthConstraint = … ]) | static X509BasicConstraintsExtension CreateForCertificateAuthority(int? pathLengthConstraint = …) |
CreateForEndEntity | CreateForEndEntity(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Handle | IntPtr | read | o.Handle |
Issuer | string | read | o.Issuer |
Subject | string | read | o.Subject |
SerialNumberBytes | ReadOnlyMemory<byte> | read | o.SerialNumberBytes |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateFromCertFile | CreateFromCertFile(p1) | static X509Certificate CreateFromCertFile(string filename) |
CreateFromSignedFile | CreateFromSignedFile(p1) | static X509Certificate CreateFromSignedFile(string filename) |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Equals | Equals(p1) | bool Equals(object obj)bool Equals(X509Certificate other) |
Export | Export(value)Export([ :contentType = … ])Export([ :contentType = …, :password = … ]) | byte[] Export(X509ContentType contentType)byte[] Export(X509ContentType contentType, string password)byte[] Export(X509ContentType contentType, SecureString password) |
GetCertHash | GetCertHash(NULL)GetCertHash(value)GetCertHash([ :hashAlgorithm = … ]) | byte[] GetCertHash()byte[] GetCertHash(HashAlgorithmName hashAlgorithm) |
GetCertHashString | callMethod("GetCertHashString",[])callMethod("GetCertHashString",[p1]) | string GetCertHashString()string GetCertHashString(HashAlgorithmName hashAlgorithm) |
GetEffectiveDateString | callMethod("GetEffectiveDateString",[]) | string GetEffectiveDateString() |
GetExpirationDateString | callMethod("GetExpirationDateString",[]) | string GetExpirationDateString() |
GetFormat | callMethod("GetFormat",[]) | string GetFormat() |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
GetIssuerName | callMethod("GetIssuerName",[]) | string GetIssuerName() |
GetKeyAlgorithm | callMethod("GetKeyAlgorithm",[]) | string GetKeyAlgorithm() |
GetKeyAlgorithmParameters | callMethod("GetKeyAlgorithmParameters",[]) | byte[] GetKeyAlgorithmParameters() |
GetKeyAlgorithmParametersString | callMethod("GetKeyAlgorithmParametersString",[]) | string GetKeyAlgorithmParametersString() |
GetName | callMethod("GetName",[]) | string GetName() |
GetPublicKey | callMethod("GetPublicKey",[]) | byte[] GetPublicKey() |
GetPublicKeyString | callMethod("GetPublicKeyString",[]) | string GetPublicKeyString() |
GetRawCertData | callMethod("GetRawCertData",[]) | byte[] GetRawCertData() |
GetRawCertDataString | callMethod("GetRawCertDataString",[]) | string GetRawCertDataString() |
GetSerialNumber | callMethod("GetSerialNumber",[]) | byte[] GetSerialNumber() |
GetSerialNumberString | callMethod("GetSerialNumberString",[]) | string GetSerialNumberString() |
Import | callMethod("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) |
Reset | callMethod("Reset",[]) | void Reset() |
ToString | callMethod("ToString",[])callMethod("ToString",[p1]) | string ToString()string ToString(bool fVerbose) |
TryGetCertHash | TryGetCertHash(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Archived | bool | read, write | o.Archived o.Archived = v |
Extensions | X509ExtensionCollection | read | o.Extensions |
FriendlyName | string | read, write | o.FriendlyName o.FriendlyName = v |
HasPrivateKey | bool | read | o.HasPrivateKey |
PrivateKey | AsymmetricAlgorithm | read, write | o.PrivateKey o.PrivateKey = v |
IssuerName | X500DistinguishedName | read | o.IssuerName |
NotAfter | DateTime | read | o.NotAfter |
NotBefore | DateTime | read | o.NotBefore |
PublicKey | PublicKey | read | o.PublicKey |
RawData | byte[] | read | o.RawData |
RawDataMemory | ReadOnlyMemory<byte> | read | o.RawDataMemory |
SerialNumber | string | read | o.SerialNumber |
SignatureAlgorithm | Oid | read | o.SignatureAlgorithm |
SubjectName | X500DistinguishedName | read | o.SubjectName |
Thumbprint | string | read | o.Thumbprint |
Version | int | read | o.Version |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyWithPrivateKey | callMethod("CopyWithPrivateKey",[p1]) | X509Certificate2 CopyWithPrivateKey(ECDiffieHellman privateKey) |
CreateFromEncryptedPem | CreateFromEncryptedPem(p1,p2,p3) | static X509Certificate2 CreateFromEncryptedPem(ReadOnlySpan<char> certPem, ReadOnlySpan<char> keyPem, ReadOnlySpan<char> password) |
CreateFromEncryptedPemFile | CreateFromEncryptedPemFile([ :certPemFilePath = …, :password = …, :keyPemFilePath = … ]) | static X509Certificate2 CreateFromEncryptedPemFile(string certPemFilePath, ReadOnlySpan<char> password, string keyPemFilePath = …) |
CreateFromPem | CreateFromPem(value)CreateFromPem([ :certPem = … ])CreateFromPem([ :certPem = …, :keyPem = … ]) | static X509Certificate2 CreateFromPem(ReadOnlySpan<char> certPem, ReadOnlySpan<char> keyPem)static X509Certificate2 CreateFromPem(ReadOnlySpan<char> certPem) |
CreateFromPemFile | CreateFromPemFile([ :certPemFilePath = …, :keyPemFilePath = … ]) | static X509Certificate2 CreateFromPemFile(string certPemFilePath, string keyPemFilePath = …) |
ExportCertificatePem | callMethod("ExportCertificatePem",[]) | string ExportCertificatePem() |
GetCertContentType | GetCertContentType(p1) | static X509ContentType GetCertContentType(byte[] rawData)static X509ContentType GetCertContentType(ReadOnlySpan<byte> rawData)static X509ContentType GetCertContentType(string fileName) |
GetECDiffieHellmanPrivateKey | callMethod("GetECDiffieHellmanPrivateKey",[]) | ECDiffieHellman GetECDiffieHellmanPrivateKey() |
GetECDiffieHellmanPublicKey | callMethod("GetECDiffieHellmanPublicKey",[]) | ECDiffieHellman GetECDiffieHellmanPublicKey() |
GetNameInfo | GetNameInfo(p1,p2) | string GetNameInfo(X509NameType nameType, bool forIssuer) |
Import | callMethod("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) |
MatchesHostname | callMethod("MatchesHostname",[p1,p2,p3]) | bool MatchesHostname(string hostname, bool allowWildcards = …, bool allowCommonName = …) |
Reset | callMethod("Reset",[]) | void Reset() |
ToString | callMethod("ToString",[])callMethod("ToString",[p1]) | string ToString()string ToString(bool verbose) |
TryExportCertificatePem | TryExportCertificatePem(p1) | bool TryExportCertificatePem(Span<char> destination, out int charsWritten) |
Verify | callMethod("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
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | int Add(X509Certificate2 certificate) |
AddRange | AddRange(p1) | void AddRange(X509Certificate2[] certificates)void AddRange(X509Certificate2Collection certificates) |
Contains | Contains(p1) | bool Contains(X509Certificate2 certificate) |
Export | Export(value)Export([ :contentType = … ])Export([ :contentType = …, :password = … ]) | byte[] Export(X509ContentType contentType)byte[] Export(X509ContentType contentType, string password) |
ExportCertificatePems | callMethod("ExportCertificatePems",[]) | string ExportCertificatePems() |
ExportPkcs7Pem | callMethod("ExportPkcs7Pem",[]) | string ExportPkcs7Pem() |
Find | callMethod("Find",[p1,p2,p3]) | X509Certificate2Collection Find(X509FindType findType, object findValue, bool validOnly) |
GetEnumerator | callMethod("GetEnumerator",[]) | X509Certificate2Enumerator GetEnumerator() |
Import | callMethod("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 = …) |
ImportFromPem | ImportFromPem(p1) | void ImportFromPem(ReadOnlySpan<char> certPem) |
ImportFromPemFile | callMethod("ImportFromPemFile",[p1]) | void ImportFromPemFile(string certPemFilePath) |
Insert | Insert(p1,p2) | void Insert(int index, X509Certificate2 certificate) |
Remove | Remove(p1) | void Remove(X509Certificate2 certificate) |
RemoveRange | RemoveRange(p1) | void RemoveRange(X509Certificate2[] certificates)void RemoveRange(X509Certificate2Collection certificates) |
TryExportCertificatePems | TryExportCertificatePems(p1) | bool TryExportCertificatePems(Span<char> destination, out int charsWritten) |
TryExportPkcs7Pem | TryExportPkcs7Pem(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | X509Certificate2 | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MoveNext | callMethod("MoveNext",[]) | bool MoveNext() |
Reset | callMethod("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
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | int Add(X509Certificate value) |
AddRange | AddRange(p1) | void AddRange(X509Certificate[] value)void AddRange(X509CertificateCollection value) |
Contains | Contains(p1) | bool Contains(X509Certificate value) |
CopyTo | CopyTo(p1,p2) | void CopyTo(X509Certificate[] array, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | X509CertificateCollection.X509CertificateEnumerator GetEnumerator() |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
IndexOf | IndexOf(p1) | int IndexOf(X509Certificate value) |
Insert | Insert(p1,p2) | void Insert(int index, X509Certificate value) |
Remove | Remove(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | X509Certificate | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MoveNext | callMethod("MoveNext",[]) | bool MoveNext() |
Reset | callMethod("Reset",[]) | void Reset() |
X509CertificateLoader class static
System.Security.Cryptography.X509Certificates.X509CertificateLoader · assembly System.Security.Cryptography
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
LoadCertificate | LoadCertificate(p1) | static X509Certificate2 LoadCertificate(ReadOnlySpan<byte> data)static X509Certificate2 LoadCertificate(byte[] data) |
LoadCertificateFromFile | LoadCertificateFromFile(p1) | static X509Certificate2 LoadCertificateFromFile(string path) |
LoadPkcs12 | LoadPkcs12([ :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 = …) |
LoadPkcs12Collection | LoadPkcs12Collection([ :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 = …) |
LoadPkcs12CollectionFromFile | LoadPkcs12CollectionFromFile([ :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 = …) |
LoadPkcs12FromFile | LoadPkcs12FromFile([ :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
| Name | Type | Access | In Ring |
|---|---|---|---|
ChainElements | X509ChainElementCollection | read | o.ChainElements |
ChainPolicy | X509ChainPolicy | read, write | o.ChainPolicy o.ChainPolicy = v |
ChainStatus | X509ChainStatus[] | read | o.ChainStatus |
ChainContext | IntPtr | read | o.ChainContext |
SafeHandle | SafeX509ChainHandle | read | o.SafeHandle |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Build | Build(p1) | bool Build(X509Certificate2 certificate) |
Create | Create() | static X509Chain Create() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Reset | callMethod("Reset",[]) | void Reset() |
X509ChainElement class
System.Security.Cryptography.X509Certificates.X509ChainElement · assembly System.Security.Cryptography
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Certificate | X509Certificate2 | read | o.Certificate |
ChainElementStatus | X509ChainStatus[] | read | o.ChainElementStatus |
Information | string | read | o.Information |
X509ChainElementCollection class sealed
System.Security.Cryptography.X509Certificates.X509ChainElementCollection · assembly System.Security.Cryptography
Implements: ICollection, IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
IsSynchronized | bool | read | o.IsSynchronized |
SyncRoot | object | read | o.SyncRoot |
Indexer
o.Item(int index) → X509ChainElement
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyTo | CopyTo(p1,p2) | void CopyTo(X509ChainElement[] array, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | X509ChainElementEnumerator GetEnumerator() |
X509ChainElementEnumerator class sealed
System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator · assembly System.Security.Cryptography
Implements: IEnumerator, IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | X509ChainElement | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MoveNext | callMethod("MoveNext",[]) | bool MoveNext() |
Reset | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
DisableCertificateDownloads | bool | read, write | o.DisableCertificateDownloads o.DisableCertificateDownloads = v |
VerificationTimeIgnored | bool | read, write | o.VerificationTimeIgnored o.VerificationTimeIgnored = v |
ApplicationPolicy | OidCollection | read | o.ApplicationPolicy |
CertificatePolicy | OidCollection | read | o.CertificatePolicy |
ExtraStore | X509Certificate2Collection | read | o.ExtraStore |
CustomTrustStore | X509Certificate2Collection | read | o.CustomTrustStore |
RevocationMode | X509RevocationMode | read, write | o.RevocationMode o.RevocationMode = v |
RevocationFlag | X509RevocationFlag | read, write | o.RevocationFlag o.RevocationFlag = v |
VerificationFlags | X509VerificationFlags | read, write | o.VerificationFlags o.VerificationFlags = v |
TrustMode | X509ChainTrustMode | read, write | o.TrustMode o.TrustMode = v |
VerificationTime | DateTime | read, write | o.VerificationTime o.VerificationTime = v |
UrlRetrievalTimeout | TimeSpan | read, write | o.UrlRetrievalTimeout o.UrlRetrievalTimeout = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | X509ChainPolicy Clone() |
Reset | callMethod("Reset",[]) | void Reset() |
X509ChainStatus struct
System.Security.Cryptography.X509Certificates.X509ChainStatus · assembly System.Security.Cryptography
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Status | X509ChainStatusFlags | read, write | o.Status o.Status = v |
StatusInformation | string | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
EnhancedKeyUsages | OidCollection | read | o.EnhancedKeyUsages |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyFrom | CopyFrom(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Critical | bool | read, write | o.Critical o.Critical = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyFrom | CopyFrom(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
IsSynchronized | bool | read | o.IsSynchronized |
SyncRoot | object | read | o.SyncRoot |
Indexer
o.Item(int index) → X509Extension
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | int Add(X509Extension extension) |
CopyTo | CopyTo(p1,p2) | void CopyTo(X509Extension[] array, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | X509ExtensionEnumerator GetEnumerator() |
X509ExtensionEnumerator class sealed
System.Security.Cryptography.X509Certificates.X509ExtensionEnumerator · assembly System.Security.Cryptography
Implements: IEnumerator, IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | X509Extension | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MoveNext | callMethod("MoveNext",[]) | bool MoveNext() |
Reset | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
KeyUsages | X509KeyUsageFlags | read | o.KeyUsages |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyFrom | CopyFrom(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
| Name | Type | Access | In Ring |
|---|---|---|---|
PublicKey | PublicKey | read | o.PublicKey |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateForECDsa | CreateForECDsa(p1) | static X509SignatureGenerator CreateForECDsa(ECDsa key) |
CreateForRSA | CreateForRSA(p1,p2) | static X509SignatureGenerator CreateForRSA(RSA key, RSASignaturePadding signaturePadding) |
GetSignatureAlgorithmIdentifier | callMethod("GetSignatureAlgorithmIdentifier",[p1]) | byte[] GetSignatureAlgorithmIdentifier(HashAlgorithmName hashAlgorithm) |
SignData | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
StoreHandle | IntPtr | read | o.StoreHandle |
Location | StoreLocation | read | o.Location |
Name | string | read | o.Name |
Certificates | X509Certificate2Collection | read | o.Certificates |
IsOpen | bool | read | o.IsOpen |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(X509Certificate2 certificate) |
AddRange | AddRange(p1) | void AddRange(X509Certificate2Collection certificates) |
Close | callMethod("Close",[]) | void Close() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Open | Open(p1) | void Open(OpenFlags flags) |
Remove | Remove(p1) | void Remove(X509Certificate2 certificate) |
RemoveRange | RemoveRange(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
| Method | Ring call | .NET overloads |
|---|---|---|
CopyFrom | CopyFrom(p1) | void CopyFrom(AsnEncodedData asnEncodedData) |
EnumerateDnsNames | callMethod("EnumerateDnsNames",[]) | IEnumerable<string> EnumerateDnsNames() |
EnumerateIPAddresses | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
SubjectKeyIdentifier | string | read | o.SubjectKeyIdentifier |
SubjectKeyIdentifierBytes | ReadOnlyMemory<byte> | read | o.SubjectKeyIdentifierBytes |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyFrom | CopyFrom(p1) | void CopyFrom(AsnEncodedData asnEncodedData) |
Members of the base class are inherited.