AsymmetricKeyPair Class

Represents an abstract class for asymmetric key pairs. This class differs from AsymmetricAlgorithm by supporting PKCS#1/PKCS#8 formats and conversions.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public abstract class AsymmetricKeyPair : IDisposable
Inheritance
Object    AsymmetricKeyPair
Derived
More
Implements
IDisposable

Constructors

AsymmetricKeyPair Initializes a new instance of AsymmetricKeyPair from key algorithm identifier and a boolean value that indicates whether the key contains only public portion.

Properties

Oid Gets the algorithm identifier for the asymmetric algorithm group stored in the current object.
PublicOnly Gets the value that indicates whether the current object stores only public part of key material. If False, then object contains both, public and private components.

Methods

DisposeReleases all resources used by the AsymmetricKeyPair
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetAsymmetricKey Gets the implementation object for the current asymmetric algorithm.
GetHashCode
(Inherited from Object)
GetPositiveInteger Gets a positive integer value without leading zero byte.
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also