/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/Tokens/ |
H A D | RsaSecurityKey.cs | 65 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 D | AsymmetricSecurityKey.cs | 15 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 D | X509AsymmetricSecurityKey.cs | 56 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 D | AsymmetricSecurityKey.cs | 52 public abstract bool HasPrivateKey (); in HasPrivateKey() method in System.IdentityModel.Tokens.AsymmetricSecurityKey
|
H A D | RsaSecurityKey.cs | 73 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 D | ExportTests.cs | 104 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 D | PfxTests.cs | 63 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 D | X509FilesystemTests.Unix.cs | 350 … 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 D | SafeFreeSslCredentials.cs | 25 Debug.Assert(cert.HasPrivateKey, "cert.HasPrivateKey"); in SafeFreeSslCredentials() 34 Debug.Assert(cert.HasPrivateKey, "cert clone.HasPrivateKey"); in SafeFreeSslCredentials()
|
H A D | SafeDeleteSslContext.cs | 288 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 D | SqlColumnEncryptionCertificateStoreProvider.cs | 422 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 D | MonoBtlsPkcs12.cs | 128 public bool HasPrivateKey { property in Mono.Btls.MonoBtlsPkcs12 134 if (!HasPrivateKey) in GetPrivateKey()
|
H A D | X509CertificateImplBtls.cs | 108 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 D | ExportProvider.cs | 86 if (_singleCertPal.HasPrivateKey) in ExportPfx() 108 if (cert.HasPrivateKey) in ExportPfx()
|
H A D | PkcsFormatReader.cs | 324 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 D | X509Certificate2Test.cs | 385 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 D | X509Certificate2Impl.cs | 42 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 D | ImportExport.cs | 132 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 D | CertificateHelper.cs | 43 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 D | ICertificatePal.cs | 15 bool HasPrivateKey { get; } property
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/tests/CertificateCreation/ |
H A D | CertificateRequestUsageTests.cs | 157 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 D | X509Certificate2.cs | 185 public bool HasPrivateKey property in System.Security.Cryptography.X509Certificates.X509Certificate2 191 return Pal.HasPrivateKey; 201 if (!HasPrivateKey)
|
H A D | RSACertificateExtensions.cs | 39 if (certificate.HasPrivateKey) in CopyWithPrivateKey()
|
H A D | DSACertificateExtensions.cs | 39 if (certificate.HasPrivateKey) in CopyWithPrivateKey()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Net/ |
H A D | Configuration.Certificates.cs | 88 if (certificate == null && c.HasPrivateKey) in GetCertWithPrivateKey()
|