diff options
Diffstat (limited to '')
-rw-r--r-- | Portable.BouncyCastle.nuspec | 63 | ||||
-rw-r--r-- | crypto/crypto.pcl2.csproj | 36 | ||||
-rw-r--r-- | crypto/packages.crypto.pcl2.config | 4 |
3 files changed, 61 insertions, 42 deletions
diff --git a/Portable.BouncyCastle.nuspec b/Portable.BouncyCastle.nuspec index bdd9c6508..67ffe6d6f 100644 --- a/Portable.BouncyCastle.nuspec +++ b/Portable.BouncyCastle.nuspec @@ -1,14 +1,14 @@ <?xml version="1.0" encoding="utf-8"?> <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> - <metadata> - <id>Portable.BouncyCastle</id> - <version>1.8.0-RC1</version> - <title>Bouncy Castle PCL</title> - <authors>Oren Novotny</authors> - <owners>onovotny</owners> - <projectUrl>https://github.com/onovotny/BouncyCastle-PCL</projectUrl> - <requireLicenseAcceptance>false</requireLicenseAcceptance> - <description>BouncyCastle.Crypto is a cryptography API providing: + <metadata> + <id>Portable.BouncyCastle</id> + <version>1.8.0-RC1</version> + <title>Bouncy Castle PCL</title> + <authors>Oren Novotny</authors> + <owners>onovotny</owners> + <projectUrl>https://github.com/onovotny/BouncyCastle-PCL</projectUrl> + <requireLicenseAcceptance>false</requireLicenseAcceptance> + <description>BouncyCastle.Crypto is a cryptography API providing: -Generation and parsing of PKCS#12 files. -X.509: Generators and parsers for V1 and V3 certificates, V2 CRLs and attribute certificates. -PBE algorithms supported by PBEUtil: PBEwithMD2andDES-CBC, PBEwithMD2andRC2-CBC, PBEwithMD5andDES-CBC, PBEwithMD5andRC2-CBC, PBEwithSHA1andDES-CBC, PBEwithSHA1andRC2-CBC, PBEwithSHA-1and128bitRC4, PBEwithSHA-1and40bitRC4, PBEwithSHA-1and3-keyDESEDE-CBC, PBEwithSHA-1and2-keyDESEDE-CBC, PBEwithSHA-1and128bitRC2-CBC, PBEwithSHA-1and40bitRC2-CBC, PBEwithHmacSHA-1, PBEwithHmacSHA-224, PBEwithHmacSHA-256, PBEwithHmacRIPEMD128, PBEwithHmacRIPEMD160, and PBEwithHmacRIPEMD256. @@ -31,17 +31,36 @@ Support for .NET 4, Windows Phone 8, Windows Phone App 8.1, Windows 8, Silverlight 5, MonoTouch, MonoAndroid, Xamarin.iOS </description> - <language>en-US</language> - <tags>bouncycastle, cryptography, encryption, security, PCL, wp8, wpa81, net4, sl5, monotouch, monoandroid, xamarin, xamarin.ios</tags> - </metadata> - <files> - <file src="Crypto\bin\pcl\Release\crypto.xml" target="lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.xml" /> - <file src="Crypto\bin\pcl\Release\crypto.pdb" target="lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.pdb" /> - <file src="Crypto\bin\pcl\Release\crypto.dll" target="lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.dll" /> - <file src="Crypto\Readme.html" target="Readme.html" /> - - <file src="Crypto\bin\pcl2\Release\crypto.xml" target="lib\portable-net45+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.xml" /> - <file src="Crypto\bin\pcl2\Release\crypto.pdb" target="lib\portable-net45+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.pdb" /> - <file src="Crypto\bin\pcl2\Release\crypto.dll" target="lib\portable-net45+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.dll" /> - </files> + <language>en-US</language> + <tags>bouncycastle, cryptography, encryption, security, PCL, wp8, wpa81, net4, sl5, dotnet, monotouch, monoandroid, xamarin, xamarin.ios</tags> + <dependencies> + <group targetFramework="dotnet"> + <dependency id="System.Collections" version="4.0.0" /> + <dependency id="System.Diagnostics.Debug" version="4.0.0" /> + <dependency id="System.Globalization" version="4.0.0" /> + <dependency id="System.IO" version="4.0.0" /> + <dependency id="System.Linq" version="4.0.0" /> + <dependency id="System.Reflection" version="4.0.0" /> + <dependency id="System.Reflection.Extensions" version="4.0.0" /> + <dependency id="System.Runtime" version="4.0.0" /> + <dependency id="System.Runtime.Extensions" version="4.0.0" /> + <dependency id="System.Text.Encoding" version="4.0.0" /> + <dependency id="System.Threading" version="4.0.0" /> + <dependency id="System.Threading.Tasks" version="4.0.0" /> + </group> + </dependencies> + </metadata> + <files> + <file src="Crypto\bin\pcl\Release\crypto.xml" target="lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.xml" /> + <file src="Crypto\bin\pcl\Release\crypto.pdb" target="lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.pdb" /> + <file src="Crypto\bin\pcl\Release\crypto.dll" target="lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.dll" /> + <file src="Crypto\Readme.html" target="Readme.html" /> + <file src="Crypto\bin\pcl2\Release\crypto.xml" target="lib\portable-net45+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.xml" /> + <file src="Crypto\bin\pcl2\Release\crypto.pdb" target="lib\portable-net45+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.pdb" /> + <file src="Crypto\bin\pcl2\Release\crypto.dll" target="lib\portable-net45+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10\crypto.dll" /> + + <file src="Crypto\bin\pcl2\Release\crypto.xml" target="lib\dotnet" /> + <file src="Crypto\bin\pcl2\Release\crypto.pdb" target="lib\dotnet" /> + <file src="Crypto\bin\pcl2\Release\crypto.dll" target="lib\dotnet" /> + </files> </package> \ No newline at end of file diff --git a/crypto/crypto.pcl2.csproj b/crypto/crypto.pcl2.csproj index 2dc9fd409..40870ed6f 100644 --- a/crypto/crypto.pcl2.csproj +++ b/crypto/crypto.pcl2.csproj @@ -19,30 +19,12 @@ <RootNamespace>crypto</RootNamespace> <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> <StartupObject /> - <FileUpgradeFlags> - </FileUpgradeFlags> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> - <UpgradeBackupLocation> - </UpgradeBackupLocation> - <OldToolsVersion>12.0</OldToolsVersion> <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> <TargetFrameworkProfile>Profile111</TargetFrameworkProfile> - <IsWebBootstrapper>false</IsWebBootstrapper> <MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion> - <PublishUrl>publish\</PublishUrl> - <Install>true</Install> - <InstallFrom>Disk</InstallFrom> - <UpdateEnabled>false</UpdateEnabled> - <UpdateMode>Foreground</UpdateMode> - <UpdateInterval>7</UpdateInterval> - <UpdateIntervalUnits>Days</UpdateIntervalUnits> - <UpdatePeriodically>false</UpdatePeriodically> - <UpdateRequired>false</UpdateRequired> - <MapFileExtensions>true</MapFileExtensions> - <ApplicationRevision>0</ApplicationRevision> - <ApplicationVersion>1.0.0.%2a</ApplicationVersion> - <UseApplicationTrust>false</UseApplicationTrust> - <BootstrapperEnabled>true</BootstrapperEnabled> + <NuGetPackageImportStamp> + </NuGetPackageImportStamp> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <OutputPath>bin\pcl2\Debug\</OutputPath> @@ -87,6 +69,13 @@ <ErrorReport>prompt</ErrorReport> </PropertyGroup> <ItemGroup> + <!-- NuSpec file must be specified as name does not match dll name --> + <NuSpecFile Include="$(SolutionDir)Portable.BouncyCastle.nuspec" /> + </ItemGroup> + <ItemGroup> + <None Include="packages.crypto.pcl2.config" /> + </ItemGroup> + <ItemGroup> <Compile Include="src\**\*.cs" /> <Compile Include="bzip2\**\*.cs" /> </ItemGroup> @@ -95,4 +84,11 @@ <PreBuildEvent /> <PostBuildEvent /> </PropertyGroup> + <Import Project="..\packages\NuSpec.ReferenceGenerator.1.0.1\build\portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10\NuSpec.ReferenceGenerator.targets" Condition="Exists('..\packages\NuSpec.ReferenceGenerator.1.0.1\build\portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10\NuSpec.ReferenceGenerator.targets')" /> + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> + <PropertyGroup> + <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> + </PropertyGroup> + <Error Condition="!Exists('..\packages\NuSpec.ReferenceGenerator.1.0.1\build\portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10\NuSpec.ReferenceGenerator.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NuSpec.ReferenceGenerator.1.0.1\build\portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10\NuSpec.ReferenceGenerator.targets'))" /> + </Target> </Project> \ No newline at end of file diff --git a/crypto/packages.crypto.pcl2.config b/crypto/packages.crypto.pcl2.config new file mode 100644 index 000000000..99d9825c1 --- /dev/null +++ b/crypto/packages.crypto.pcl2.config @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="NuSpec.ReferenceGenerator" version="1.0.1" targetFramework="portable45-net45+win8+wpa81" /> +</packages> \ No newline at end of file |