You've already forked linux-packaging-mono
Imported Upstream version 5.8.0.22
Former-commit-id: df344e34b07851d296efb3e6604c8db42b6f7aa3
This commit is contained in:
parent
5f4a27cc8a
commit
7d05485754
@@ -55,7 +55,6 @@ using System.Runtime.InteropServices;
|
||||
[assembly: NeutralResourcesLanguage ("en-US")]
|
||||
[assembly: CLSCompliant (true)]
|
||||
[assembly: AssemblyDelaySign (true)]
|
||||
[assembly: AssemblyKeyFile ("../ecma.pub")]
|
||||
|
||||
[assembly: ComVisible (false)]
|
||||
[assembly: ComCompatibleVersion (1, 0, 3300, 0)]
|
||||
|
@@ -8,6 +8,7 @@ endif
|
||||
|
||||
LIBRARY = System.IdentityModel.dll
|
||||
LIB_REFS = System System.Xml System.Security $(MONO_SECURITY) System.Runtime.Serialization
|
||||
KEYFILE = ../ecma.pub
|
||||
LIB_MCS_FLAGS = \
|
||||
/d:NET_3_0 \
|
||||
$(OTHER_LIB_MCS_FLAGS)
|
||||
|
@@ -10,6 +10,7 @@ System.IdentityModel.Selectors/SamlSecurityTokenAuthenticatorTest.cs
|
||||
System.IdentityModel.Selectors/SecurityTokenRequirementTest.cs
|
||||
System.IdentityModel.Selectors/SecurityTokenResolverTest.cs
|
||||
System.IdentityModel.Selectors/TestEvaluationContext.cs
|
||||
System.IdentityModel.Selectors/X509CertificateValidatorTest.cs
|
||||
System.IdentityModel.Selectors/X509SecurityTokenAuthenticatorTest.cs
|
||||
System.IdentityModel.Selectors/X509SecurityTokenProviderTest.cs
|
||||
System.IdentityModel.Tokens/BootstrapContextTest.cs
|
||||
|
@@ -0,0 +1,45 @@
|
||||
//
|
||||
// X509CertificateValidatorTest.cs
|
||||
//
|
||||
// Author:
|
||||
// Alexander Köplinger <alkpli@microsoft.com>
|
||||
//
|
||||
// Copyright (C) 2017 Microsoft
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
using System;
|
||||
using System.IdentityModel.Selectors;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace MonoTests.System.IdentityModel.Selectors
|
||||
{
|
||||
[TestFixture]
|
||||
public class X509CertificateValidatorTest
|
||||
{
|
||||
[Test]
|
||||
public void ConstructorTest ()
|
||||
{
|
||||
Assert.NotNull (X509CertificateValidator.CreateChainTrustValidator (false, new X509ChainPolicy ()));
|
||||
Assert.NotNull (X509CertificateValidator.CreatePeerOrChainTrustValidator (false, new X509ChainPolicy ()));
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1 @@
|
||||
#include mobile_System.IdentityModel.dll.sources
|
Reference in New Issue
Block a user