Home
last modified time | relevance | path

Searched refs:HasPrivateKey (Results 1 – 25 of 135) sorted by relevance

123456

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/Tokens/
H A DRsaSecurityKey.cs65 if (requiresPrivateKey && !HasPrivateKey()) in GetAsymmetricAlgorithm()
196 public override bool HasPrivateKey() in HasPrivateKey() method in System.IdentityModel.Tokens.RsaSecurityKey
203 …rviceProvider.PublicOnly ? PrivateKeyStatus.DoesNotHavePrivateKey : PrivateKeyStatus.HasPrivateKey; in HasPrivateKey()
211 this.privateKeyStatus = PrivateKeyStatus.HasPrivateKey; in HasPrivateKey()
219 return this.privateKeyStatus == PrivateKeyStatus.HasPrivateKey; in HasPrivateKey()
281 HasPrivateKey, enumerator
H A DAsymmetricSecurityKey.cs15 public abstract bool HasPrivateKey(); in HasPrivateKey() method in System.IdentityModel.Tokens.AsymmetricSecurityKey
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.IdentityModel/System.IdentityModel.Tokens/
H A DX509AsymmetricSecurityKey.cs56 if (privateKey && !cert.HasPrivateKey) in GetAsymmetricAlgorithm()
145 public override bool HasPrivateKey () in HasPrivateKey() method in System.IdentityModel.Tokens.X509AsymmetricSecurityKey
147 return cert.HasPrivateKey; in HasPrivateKey()
163 if (!HasPrivateKey ()) in DecryptKey()
H A DAsymmetricSecurityKey.cs52 public abstract bool HasPrivateKey (); in HasPrivateKey() method in System.IdentityModel.Tokens.AsymmetricSecurityKey
H A DRsaSecurityKey.cs73 public override bool HasPrivateKey () in HasPrivateKey() method in System.IdentityModel.Tokens.RsaSecurityKey
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/tests/
H A DExportTests.cs104 Assert.True(cert.HasPrivateKey, "cert.HasPrivateKey"); in ExportAsPfxWithPrivateKeyVerifyPassword()
115 Assert.True(cert2.HasPrivateKey, "cert2.HasPrivateKey"); in ExportAsPfxWithPrivateKeyVerifyPassword()
125 Assert.True(cert.HasPrivateKey, "cert.HasPrivateKey"); in ExportAsPfxWithPrivateKey()
132 Assert.True(fromPfx.HasPrivateKey, "fromPfx.HasPrivateKey"); in ExportAsPfxWithPrivateKey()
H A DPfxTests.cs63 Assert.True(cert.HasPrivateKey, "cert.HasPrivateKey"); in EnsurePrivateKeyPreferred()
107 bool hasPrivateKey = c.HasPrivateKey; in TestPrivateKey()
122 bool hasPrivateKey = c.HasPrivateKey; in TestPrivateKeyProperty()
156 Assert.True(certFromPfx.HasPrivateKey); in ExportWithPrivateKey()
181 Assert.True(cert.HasPrivateKey, "cert.HasPrivateKey"); in ECDsaPrivateKeyProperty_WindowsPfx()
184 Assert.False(pubOnly.HasPrivateKey, "pubOnly.HasPrivateKey"); in ECDsaPrivateKeyProperty_WindowsPfx()
H A DX509FilesystemTests.Unix.cs350 … Assert.False(storeCert.HasPrivateKey, "storeCert.HasPrivateKey (before)"); in X509Store_AddTwo_UpgradePrivateKey()
368 … Assert.True(storeCert.HasPrivateKey, "storeCert.HasPrivateKey (affected cert)"); in X509Store_AddTwo_UpgradePrivateKey()
373 … Assert.False(storeCert.HasPrivateKey, "storeCert.HasPrivateKey (other cert)"); in X509Store_AddTwo_UpgradePrivateKey()
409 … Assert.False(storeCert.HasPrivateKey, "storeCert.HasPrivateKey (before)"); in X509Store_AddTwo_UpgradePrivateKey_NoDowngrade()
428 … Assert.True(storeCert.HasPrivateKey, "storeCert.HasPrivateKey (affected cert)"); in X509Store_AddTwo_UpgradePrivateKey_NoDowngrade()
433 … Assert.False(storeCert.HasPrivateKey, "storeCert.HasPrivateKey (other cert)"); in X509Store_AddTwo_UpgradePrivateKey_NoDowngrade()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/src/System/Net/Security/Pal.OSX/
H A DSafeFreeSslCredentials.cs25 Debug.Assert(cert.HasPrivateKey, "cert.HasPrivateKey"); in SafeFreeSslCredentials()
34 Debug.Assert(cert.HasPrivateKey, "cert clone.HasPrivateKey"); in SafeFreeSslCredentials()
H A DSafeDeleteSslContext.cs288 Debug.Assert(certificate.HasPrivateKey, "certificate.HasPrivateKey"); in SetCertificate()
315 if (intermediateCert.HasPrivateKey) in SetCertificate()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data/System/Data/SqlClient/
H A DSqlColumnEncryptionCertificateStoreProvider.cs422 if (!certificate.HasPrivateKey) in GetCertificate()
452 … Debug.Assert(certificate.HasPrivateKey, "Attempting to encrypt with cert without privatekey"); in RSAEncrypt()
468 … Debug.Assert(certificate.HasPrivateKey, "Attempting to decrypt with cert without privatekey"); in RSADecrypt()
484 … Debug.Assert(certificate.HasPrivateKey, "Attempting to sign with cert without privatekey"); in RSASignHashedData()
511 … Debug.Assert(certificate.HasPrivateKey, "Attempting to sign with cert without privatekey"); in RSAVerifySignature()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Mono.Btls/
H A DMonoBtlsPkcs12.cs128 public bool HasPrivateKey { property in Mono.Btls.MonoBtlsPkcs12
134 if (!HasPrivateKey) in GetPrivateKey()
H A DX509CertificateImplBtls.cs108 if (nativePrivateKey == null && FallbackImpl.HasPrivateKey) {
279 public override bool HasPrivateKey { property in Mono.Btls.X509CertificateImplBtls
280 get { return nativePrivateKey != null || FallbackImpl.HasPrivateKey; }
416 if (pkcs12.HasPrivateKey) in ImportPkcs12()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/
H A DExportProvider.cs86 if (_singleCertPal.HasPrivateKey) in ExportPfx()
108 if (cert.HasPrivateKey) in ExportPfx()
H A DPkcsFormatReader.cs324 else if (certPal.HasPrivateKey && !first.HasPrivateKey) in TryReadPkcs12()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Security.Cryptography.X509Certificates/
H A DX509Certificate2Test.cs385 Assert.IsFalse (cert.HasPrivateKey, "#C7"); in Ctor_FileName()
456 Assert.IsFalse (x.HasPrivateKey, "HasPrivateKey"); in Certificate_1_Properties()
501 Assert.IsFalse (x.HasPrivateKey, "HasPrivateKey"); in Certificate_2_Properties()
546 Assert.IsFalse (x.HasPrivateKey, "HasPrivateKey"); in Certificate_3_Properties()
627 Assert.IsFalse (x.HasPrivateKey, "HasPrivateKey"); in Certificate_4_Properties()
672 Assert.IsFalse (x.HasPrivateKey, "HasPrivateKey"); in Certificate_5_Properties()
749 Assert.IsFalse (x.HasPrivateKey, "HasPrivateKey"); in Certificate_8_Properties()
810 Assert.IsFalse (x.HasPrivateKey, "HasPrivateKey"); in Certificate_9_Properties()
881 Assert.IsFalse (x.HasPrivateKey, "HasPrivateKey"); in Certificate_10_Properties()
926 Assert.IsFalse (x.HasPrivateKey, "HasPrivateKey"); in Certificate_11_Properties()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Security.Cryptography.X509Certificates/
H A DX509Certificate2Impl.cs42 public abstract bool HasPrivateKey { property in System.Security.Cryptography.X509Certificates.X509Certificate2Impl
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Mono.AppleTls/
H A DImportExport.cs132 if (!certificate.HasPrivateKey) in ItemImport()
157 if (!certificate.HasPrivateKey) in ImportPrivateKey()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/System/Net/Security/
H A DCertificateHelper.cs43 if (cert.HasPrivateKey) in GetEligibleClientCertificate()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/
H A DICertificatePal.cs15 bool HasPrivateKey { get; } property
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/tests/CertificateCreation/
H A DCertificateRequestUsageTests.cs157 Assert.True(newCert.HasPrivateKey); in SimpleSelfSign()
212 Assert.True(cert.HasPrivateKey, "cert.HasPrivateKey"); in SelfSign_RSA_UseCertKeys()
250 Assert.True(cert.HasPrivateKey, "cert.HasPrivateKey"); in SelfSign_ECC_UseCertKeys()
288 Assert.True(cert.HasPrivateKey, "cert.HasPrivateKey"); in SelfSign_ECC_DiminishedPoint_UseCertKeys()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/
H A DX509Certificate2.cs185 public bool HasPrivateKey property in System.Security.Cryptography.X509Certificates.X509Certificate2
191 return Pal.HasPrivateKey;
201 if (!HasPrivateKey)
H A DRSACertificateExtensions.cs39 if (certificate.HasPrivateKey) in CopyWithPrivateKey()
H A DDSACertificateExtensions.cs39 if (certificate.HasPrivateKey) in CopyWithPrivateKey()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Net/
H A DConfiguration.Certificates.cs88 if (certificate == null && c.HasPrivateKey) in GetCertWithPrivateKey()

123456