iText 9.5.0 API
iText.Bouncycastlefips.Crypto.PrivateKeyBCFips Class Reference

Wrapper class for IAsymmetricPrivateKey. More...

Inheritance diagram for iText.Bouncycastlefips.Crypto.PrivateKeyBCFips:
iText.Commons.Bouncycastle.Crypto.IPrivateKey

Public Member Functions

  PrivateKeyBCFips (IAsymmetricPrivateKey privateKey)
  Creates new wrapper instance for IAsymmetricPrivateKey. More...
 
virtual IAsymmetricPrivateKey  GetPrivateKey ()
  Gets actual org.bouncycastle object being wrapped. More...
 
String  GetAlgorithm ()
  Gets private key algorithm. More...
 
override bool  Equals (Object o)
  Indicates whether some other object is "equal to" this one. Compares wrapped objects. More...
 
override int  GetHashCode ()
  Returns a hash code value based on the wrapped object. More...
 
override String  ToString ()
  Delegates toString method call to the wrapped object. More...
 

Detailed Description

Wrapper class for IAsymmetricPrivateKey.

Constructor & Destructor Documentation

◆ PrivateKeyBCFips()

iText.Bouncycastlefips.Crypto.PrivateKeyBCFips.PrivateKeyBCFips ( IAsymmetricPrivateKey  privateKey )
inline

Creates new wrapper instance for IAsymmetricPrivateKey.

Parameters
privateKey IAsymmetricPrivateKey to be wrapped

Member Function Documentation

◆ Equals()

override bool iText.Bouncycastlefips.Crypto.PrivateKeyBCFips.Equals ( Object  o )
inline

Indicates whether some other object is "equal to" this one. Compares wrapped objects.

◆ GetAlgorithm()

String iText.Bouncycastlefips.Crypto.PrivateKeyBCFips.GetAlgorithm ( )
inline

Gets private key algorithm.

Implements iText.Commons.Bouncycastle.Crypto.IPrivateKey.

◆ GetHashCode()

override int iText.Bouncycastlefips.Crypto.PrivateKeyBCFips.GetHashCode ( )
inline

Returns a hash code value based on the wrapped object.

◆ GetPrivateKey()

virtual IAsymmetricPrivateKey iText.Bouncycastlefips.Crypto.PrivateKeyBCFips.GetPrivateKey ( )
inlinevirtual

Gets actual org.bouncycastle object being wrapped.

Returns
wrapped IAsymmetricPrivateKey.

◆ ToString()

override String iText.Bouncycastlefips.Crypto.PrivateKeyBCFips.ToString ( )
inline

Delegates toString method call to the wrapped object.