Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Lipnin <v-maxlip@microsoft.com>2018-05-14 13:59:09 +0300
committerMaxim Lipnin <v-maxlip@microsoft.com>2018-05-14 15:42:08 +0300
commit78bcca75054517767b0de455bd9296fbb794cd16 (patch)
treef50114f2143bbdc072e5b19f165cb782d9024350 /mcs/class/System.Security
parenteb5534eb5cb417f324e94fe61bd885bef33d1ec7 (diff)
[System.Security] CoreFX import for PublicKeyInfo type.
Diffstat (limited to 'mcs/class/System.Security')
-rw-r--r--mcs/class/System.Security/System.Security.Cryptography.Pkcs/PublicKeyInfo.cs63
-rw-r--r--mcs/class/System.Security/common_System.Security.dll.sources2
2 files changed, 1 insertions, 64 deletions
diff --git a/mcs/class/System.Security/System.Security.Cryptography.Pkcs/PublicKeyInfo.cs b/mcs/class/System.Security/System.Security.Cryptography.Pkcs/PublicKeyInfo.cs
deleted file mode 100644
index 3f9d554e2dd..00000000000
--- a/mcs/class/System.Security/System.Security.Cryptography.Pkcs/PublicKeyInfo.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// PublicKeyInfo.cs - System.Security.Cryptography.Pkcs.PublicKeyInfo
-//
-// Author:
-// Sebastien Pouliot <sebastien@ximian.com>
-//
-// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
-// Copyright (C) 2004 Novell Inc. (http://www.novell.com)
-//
-// 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.
-//
-
-#if SECURITY_DEP
-
-using System;
-
-namespace System.Security.Cryptography.Pkcs {
-
- public sealed class PublicKeyInfo {
-
- private AlgorithmIdentifier _algorithm;
- private byte[] _key;
-
- // constructors
-
- // only used in KeyAgreeRecipientInfo.OriginatorIdentifierOrKey.Value
- // when SubjectIdentifierOrKeyType == PublicKeyInfo
- internal PublicKeyInfo (AlgorithmIdentifier algorithm, byte[] key)
- {
- _algorithm = algorithm;
- _key = key;
- }
-
- // properties
-
- public AlgorithmIdentifier Algorithm {
- get { return _algorithm; }
- }
-
- public byte[] KeyValue {
- get { return _key; }
- }
- }
-}
-
-#endif
diff --git a/mcs/class/System.Security/common_System.Security.dll.sources b/mcs/class/System.Security/common_System.Security.dll.sources
index 7825c95ec11..ee35fc9bab5 100644
--- a/mcs/class/System.Security/common_System.Security.dll.sources
+++ b/mcs/class/System.Security/common_System.Security.dll.sources
@@ -29,7 +29,7 @@ System.Security.Cryptography.Pkcs/Pkcs9DocumentDescription.cs
System.Security.Cryptography.Pkcs/Pkcs9DocumentName.cs
System.Security.Cryptography.Pkcs/Pkcs9MessageDigest.cs
System.Security.Cryptography.Pkcs/Pkcs9SigningTime.cs
-System.Security.Cryptography.Pkcs/PublicKeyInfo.cs
+../../../external/corefx/src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/PublicKeyInfo.cs
System.Security.Cryptography.Pkcs/RecipientInfo.cs
System.Security.Cryptography.Pkcs/RecipientInfoCollection.cs
System.Security.Cryptography.Pkcs/RecipientInfoEnumerator.cs