frends-community - Frends.Community.EnvelopedCms 1.1.0

Package Description

PM> Install-Package Frends.Community.EnvelopedCms -Version 1.1.0 -Source https://www.myget.org/F/frends-community/api/v3/index.json

Copy to clipboard

> nuget.exe install Frends.Community.EnvelopedCms -Version 1.1.0 -Source https://www.myget.org/F/frends-community/api/v3/index.json

Copy to clipboard

> dotnet add package Frends.Community.EnvelopedCms --version 1.1.0 --source https://www.myget.org/F/frends-community/api/v3/index.json

Copy to clipboard
<PackageReference Include="Frends.Community.EnvelopedCms" Version="1.1.0" />
Copy to clipboard
source https://www.myget.org/F/frends-community/api/v3/index.json

nuget Frends.Community.EnvelopedCms  ~> 1.1.0
Copy to clipboard

> choco install Frends.Community.EnvelopedCms --version 1.1.0 --source https://www.myget.org/F/frends-community/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "frends-community" -SourceLocation "https://www.myget.org/F/frends-community/api/v2"
Install-Module -Name "Frends.Community.EnvelopedCms" -RequiredVersion "1.1.0" -Repository "frends-community" 
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following legacy symbol server URL: https://www.myget.org/F/frends-community/symbols/


Frends.Community.EnvelopedCms

Frends Community tasks for handling EnvelopedCms assymmetric encryption and decryption of files

Actions Status MyGet License: MIT

Installing

You can install the Task via frends UI Task View or you can find the NuGet package from the following NuGet feed https://www.myget.org/F/frends-community/api/v3/index.json and in Gallery view in MyGet https://www.myget.org/feed/frends-community/package/nuget/Frends.Community.EnvelopedCms

Tasks

DecryptDEREncryptedFile

Decrypts a DER encrypted file

Task Parameters

DecryptDEREncryptedFileInput

DecryptDEREncryptedFileInput consists of four properties EncryptedContentBytes, EncryptedFilePath, PrivateKeyFilePath & PrivateKeyAsBase64EncodedString. The task needs either EncryptedContentBytes or EncryptedFilePath to be provided AND for the private key either PrivateKeyFilePath or PrivateKeyAsBase64EncodedString. If all parameters are given then the EncryptedFilePath & PrivateKeyFilePath are chosen for the decryption.

Property Type Description Example
EncryptedContentBytes byte[] Content of the encrypted file as byte array. [104,84,105,115]
EncryptedFilePath string Full path to the encrypted files location. C:\temp\encrypted_file.txt
PrivateKeyFilePath string Full path to the private key files location. Private key must be in .pem format. C:\temp\privateKey.pem
PrivateKeyAsBase64EncodedString string Private Key files content as a Base64 Encoded String. Must be a valid Base64 string. VGhpcyBpcyBhIHRlc3Q= This is a valid Base64 encoded string but the string will be longer for the private key.

Returns

A DecryptDEREncryptedFileResult object with parameters.

Property Type Description Example
DecryptedFileContentBytes byte[] Decrypted data as byte array. [84,104,105,115]

Usage: To fetch result use syntax:

#result.DecryptedFileContentBytes

Building

Clone a copy of the repository

git clone https://github.com/CommunityHiQ/Frends.Community.EnvelopedCms.git

Rebuild the project

dotnet build

Run tests

dotnet test

Create a NuGet package

dotnet pack --configuration Release

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

  1. Fork the repository on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

Change Log

Version Changes
1.0.0 Initial version with DecryptDEREncryptedFile task
1.1.0 Targeted to .NET6 and 8, and updated System.ComponentModel.Annotations to 5.0.0
  • .NETFramework 4.7.1
    • BouncyCastle (>= 1.8.9)
    • Microsoft.CSharp (>= 4.7.0)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETFramework 6.0
    • BouncyCastle (>= 1.8.9)
    • Microsoft.CSharp (>= 4.7.0)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETFramework 8.0
    • BouncyCastle (>= 1.8.9)
    • Microsoft.CSharp (>= 4.7.0)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETStandard 2.0
    • BouncyCastle (>= 1.8.9)
    • Microsoft.CSharp (>= 4.7.0)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETFramework 4.7.1: 4.7.1.0
  • .NETFramework 6.0: 6.0.0.0
  • .NETFramework 8.0: 8.0.0.0
  • .NETStandard 2.0: 2.0.0.0

                        
Assembly Assembly hash Match
/lib/net6.0/frends.community.envelopedcms.dll 532977bede3347e994a04b86774466c3FFFFFFFF
/lib/netstandard2.0/frends.community.envelopedcms.dll 8dd2be0e9a384f73b7e9bf16356379cdFFFFFFFF
/lib/net471/frends.community.envelopedcms.dll 8e6595d5481348fb92db01dd7f47f130FFFFFFFF
/lib/net8.0/frends.community.envelopedcms.dll ae7fd475f8a9413d989d13b69d16646bFFFFFFFF

Owners

FRENDS Community Feed User

Authors

HiQ Finland

Project URL

https://github.com/CommunityHiQ/Frends.Community.EnvelopedCms

License

Unknown

Tags

Frends

Info

8 total downloads
1 downloads for version 1.1.0
Download (19.53 KB)
Download legacy symbols (44.44 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.1.0 19.53 KB Mon, 10 Feb 2025 09:14:09 GMT 1
0.0.1 10.55 KB Wed, 19 Oct 2022 08:24:32 GMT 7