iText 9.5.0 API
iText.Bouncycastle.Crypto.PrivateKeyBC Class Reference

Wrapper class for Org.BouncyCastle.Crypto.ICipherParameters. More...

Inheritance diagram for iText.Bouncycastle.Crypto.PrivateKeyBC:
iText.Commons.Bouncycastle.Crypto.IPrivateKey

Public Member Functions

  PrivateKeyBC (ICipherParameters privateKey)
  Creates new wrapper instance for Org.BouncyCastle.Crypto.ICipherParameters. More...
 
virtual ICipherParameters  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 Org.BouncyCastle.Crypto.ICipherParameters.

Constructor & Destructor Documentation

◆ PrivateKeyBC()

iText.Bouncycastle.Crypto.PrivateKeyBC.PrivateKeyBC ( ICipherParameters  privateKey )
inline

Creates new wrapper instance for Org.BouncyCastle.Crypto.ICipherParameters.

Parameters
privateKey Org.BouncyCastle.Crypto.ICipherParameters to be wrapped

Member Function Documentation

◆ Equals()

override bool iText.Bouncycastle.Crypto.PrivateKeyBC.Equals ( Object  o )
inline

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

◆ GetAlgorithm()

string iText.Bouncycastle.Crypto.PrivateKeyBC.GetAlgorithm ( )
inline

Gets private key algorithm.

Implements iText.Commons.Bouncycastle.Crypto.IPrivateKey.

◆ GetHashCode()

override int iText.Bouncycastle.Crypto.PrivateKeyBC.GetHashCode ( )
inline

Returns a hash code value based on the wrapped object.

◆ GetPrivateKey()

virtual ICipherParameters iText.Bouncycastle.Crypto.PrivateKeyBC.GetPrivateKey ( )
inlinevirtual

Gets actual org.bouncycastle object being wrapped.

Returns
wrapped Org.BouncyCastle.Crypto.ICipherParameters.

◆ ToString()

override String iText.Bouncycastle.Crypto.PrivateKeyBC.ToString ( )
inline

Delegates toString method call to the wrapped object.