Certificate/TestCertificateFormat.cs

ActiveLogin.Authentication · src/ActiveLogin.Authentication.BankId.Core/Certificate/TestCertificateFormat.cs · csharp · MIT
auth

TestCertificateFormat.cs from ActiveLogin/ActiveLogin.Authentication

// Source: https://github.com/ActiveLogin/ActiveLogin.Authentication | License: MIT | Copyright 2018-2023 Active Solution
// Provided via justclaw.it.com; keep this notice with the code.
namespace ActiveLogin.Authentication.BankId.Core.Certificate;

public enum TestCertificateFormat
{
    /// <summary>
    /// This file stores the certificate and the private key in a PKCS#12 format.
    /// It is encrypted using the AES-256-CBC-algorithm, which has a higher security level than older methods.
    /// When you create your certificate for production with the BankID Keygen it will be created in this format.
    /// We recommend that you select this format if possible.
    /// </summary>
    P12,

    /// <summary>
    /// This file contains the certificate and the encrypted private key in a PE

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key