Show / Hide Table of Contents

Class PKAlgorithm

Inheritance
Object
PKAlgorithm
DSAPKAlgorithm
RSAPKAlgorithm
Inherited Members
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki.dll
Syntax
public abstract class PKAlgorithm

Fields

DSA

Declaration
public static readonly PKAlgorithm DSA
Field Value
Type Description
PKAlgorithm

RSA

Declaration
public static readonly PKAlgorithm RSA
Field Value
Type Description
PKAlgorithm

Properties

Name

Declaration
public abstract string Name { get; }
Property Value
Type Description
String

Oid

Declaration
public abstract string Oid { get; }
Property Value
Type Description
String

Methods

Equals(PKAlgorithm)

Declaration
public bool Equals(PKAlgorithm other)
Parameters
Type Name Description
PKAlgorithm other
Returns
Type Description
Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()

GetInstanceByName(String)

Declaration
public static PKAlgorithm GetInstanceByName(string name)
Parameters
Type Name Description
String name
Returns
Type Description
PKAlgorithm

GetInstanceByOID(String)

Declaration
public static PKAlgorithm GetInstanceByOID(string oid)
Parameters
Type Name Description
String oid
Returns
Type Description
PKAlgorithm

GetSignatureAlgorithm(DigestAlgorithm)

Declaration
public abstract SignatureAlgorithm GetSignatureAlgorithm(DigestAlgorithm digestAlgorithm)
Parameters
Type Name Description
DigestAlgorithm digestAlgorithm
Returns
Type Description
SignatureAlgorithm

Operators

Equality(PKAlgorithm, PKAlgorithm)

Declaration
public static bool operator ==(PKAlgorithm a, PKAlgorithm b)
Parameters
Type Name Description
PKAlgorithm a
PKAlgorithm b
Returns
Type Description
Boolean

Inequality(PKAlgorithm, PKAlgorithm)

Declaration
public static bool operator !=(PKAlgorithm a, PKAlgorithm b)
Parameters
Type Name Description
PKAlgorithm a
PKAlgorithm b
Returns
Type Description
Boolean
Back to top Copyright © 2015-2020 Lacuna Software