Show / Hide Table of Contents

    Class LocalPemFileRsaDecryptor

    Class that implements an IRsaDecryptor that loads the private key from a file specified.

    Inheritance
    System.Object
    LocalPemFileRsaDecryptor
    Implements
    IRsaDecryptor
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Fibula.Security.Encryption
    Assembly: Fibula.Security.dll
    Syntax
    public class LocalPemFileRsaDecryptor : IRsaDecryptor

    Constructors

    | Improve this Doc View Source

    LocalPemFileRsaDecryptor(IOptions<LocalPemFileRsaDecryptorOptions>)

    Initializes a new instance of the LocalPemFileRsaDecryptor class.

    Declaration
    public LocalPemFileRsaDecryptor(IOptions<LocalPemFileRsaDecryptorOptions> options)
    Parameters
    Type Name Description
    Microsoft.Extensions.Options.IOptions<LocalPemFileRsaDecryptorOptions> options

    The options for this decryptor.

    Properties

    | Improve this Doc View Source

    Options

    Gets the options for this decryptor.

    Declaration
    public LocalPemFileRsaDecryptorOptions Options { get; }
    Property Value
    Type Description
    LocalPemFileRsaDecryptorOptions

    Methods

    | Improve this Doc View Source

    Decrypt(Byte[])

    Decrypts the data supplied.

    Declaration
    public Span<byte> Decrypt(byte[] data)
    Parameters
    Type Name Description
    System.Byte[] data

    The data to decrypt.

    Returns
    Type Description
    System.Span<System.Byte>

    The decrypted bytes of data.

    Implements

    IRsaDecryptor

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.