iText 9.2.0 API
iText.Commons.Bouncycastle.IBouncyCastleFactory Interface Reference

IBouncyCastleFactory contains methods required for bouncy-classes objects creation. More...

Inheritance diagram for iText.Commons.Bouncycastle.IBouncyCastleFactory:
iText.Bouncycastle.BouncyCastleFactory iText.Bouncycastleconnector.BouncyCastleDefaultFactory iText.Bouncycastlefips.BouncyCastleFipsFactory

Public Member Functions

String  GetAlgorithmOid (String name)
  Get signing algorithm oid from its name. More...
 
String  GetDigestAlgorithmOid (String name)
  Get hash algorithm oid from its name. More...
 
String  GetAlgorithmName (String oid)
  Get signing algorithm name from its oid. More...
 
IDerObjectIdentifier  CreateASN1ObjectIdentifier (IAsn1Encodable encodable)
  Cast ASN1 encodable wrapper to the ASN1 object identifier wrapper. More...
 
IDerObjectIdentifier  CreateASN1ObjectIdentifier (String str)
  Create ASN1 Object identifier wrapper from System.String. More...
 
IDerObjectIdentifier  CreateASN1ObjectIdentifierInstance (Object @object)
  Create ASN1 Object identifier wrapper from System.Object using getInstance method call. More...
 
IAsn1InputStream  CreateASN1InputStream (Stream stream)
  Create ASN1 Input stream wrapper from System.IO.Stream. More...
 
IAsn1InputStream  CreateASN1InputStream (byte[] bytes)
  Create ASN1 Input stream wrapper from byte[]. More...
 
IAsn1OctetString  CreateASN1OctetString (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to the ASN1 Octet string wrapper. More...
 
IAsn1OctetString  CreateASN1OctetString (IAsn1TaggedObject taggedObject, bool b)
  Create ASN1 Octet string wrapper from ASN1 Tagged object wrapper and boolean parameter. More...
 
IAsn1OctetString  CreateASN1OctetString (byte[] bytes)
  Create ASN1 Octet string wrapper from byte[]. More...
 
IAsn1OctetString  CreateASN1OctetString (IAsn1Object primitive)
  Create ASN1 Octet string wrapper from ASN1 Primitive wrapper. More...
 
IAsn1Sequence  CreateASN1Sequence (Object @object)
  Cast System.Object to ASN1 Sequence wrapper. More...
 
IAsn1Sequence  CreateASN1Sequence (IAsn1Encodable encodable)
  Cast ASN1 encodable wrapper to the ASN1 Sequence wrapper. More...
 
IAsn1Sequence  CreateASN1Sequence (byte[] array)
  Create ASN1 Sequence wrapper from byte[]. More...
 
IAsn1Sequence  CreateASN1SequenceInstance (Object @object)
  Create ASN1 Sequence wrapper from System.Object using getInstance method call. More...
 
IDerSequence  CreateDERSequence (IAsn1EncodableVector encodableVector)
  Create DER Sequence wrapper from ASN1 Encodable vector wrapper. More...
 
IDerSequence  CreateDERSequence (IAsn1Object primitive)
  Create DER Sequence wrapper from ASN1 Primitive wrapper. More...
 
IAsn1TaggedObject  CreateASN1TaggedObject (IAsn1Encodable encodable)
  Create ASN1 Tagged object wrapper from ASN1 Encodable wrapper. More...
 
IDerInteger  CreateASN1Integer (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 Integer wrapper. More...
 
IDerInteger  CreateASN1Integer (int i)
  Create ASN1 Integer wrapper from int. More...
 
IDerInteger  CreateASN1Integer (IBigInteger i)
  Create ASN1 Integer wrapper from iText.Commons.Bouncycastle.Math.IBigInteger. More...
 
IAsn1Set  CreateASN1Set (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 Set wrapper. More...
 
IAsn1Set  CreateASN1Set (Object encodable)
  Create ASN1 Set wrapper from System.Object. More...
 
IAsn1Set  CreateASN1Set (IAsn1TaggedObject taggedObject, bool b)
  Create ASN1 Set wrapper from ASN1 Tagged object wrapper and boolean parameter. More...
 
IAsn1Set  CreateNullASN1Set ()
  Create ASN1 Set wrapper which will store null. More...
 
IDerOutputStream  CreateASN1OutputStream (Stream stream)
  Create ASN1 Output stream wrapper from System.IO.Stream. More...
 
IDerOutputStream  CreateASN1OutputStream (Stream outputStream, String asn1Encoding)
  Create ASN1 Output stream wrapper from System.IO.Stream and ASN1 Encoding. More...
 
IDerOctetString  CreateDEROctetString (byte[] bytes)
  Create DER Octet string wrapper from byte[]. More...
 
IDerOctetString  CreateDEROctetString (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to DER Octet string wrapper. More...
 
IAsn1EncodableVector  CreateASN1EncodableVector ()
  Create ASN1 Encodable wrapper without parameters. More...
 
IDerNull  CreateDERNull ()
  Create DER Null wrapper without parameters. More...
 
IDerTaggedObject  CreateDERTaggedObject (int i, IAsn1Object primitive)
  Create DER Tagged object wrapper from int value and ASN1 Primitive wrapper. More...
 
IDerTaggedObject  CreateDERTaggedObject (bool b, int i, IAsn1Object primitive)
  Create DER Tagged object wrapper from int value, boolean value and ASN1 Primitive wrapper. More...
 
IDerSet  CreateDERSet (IAsn1EncodableVector encodableVector)
  Create DER Set wrapper from ASN1 Encodable vector wrapper. More...
 
IDerSet  CreateDERSet (IAsn1Object primitive)
  Create DER Set wrapper from ASN1 Primitive wrapper. More...
 
IDerSet  CreateDERSet (ISignaturePolicyIdentifier identifier)
  Create DER Set wrapper from signature policy identifier wrapper. More...
 
IDerSet  CreateDERSet (IRecipientInfo recipientInfo)
  Create DER Set wrapper from recipient info wrapper. More...
 
IDerEnumerated  CreateASN1Enumerated (int i)
  Create ASN1 Enumerated wrapper from int value. More...
 
IDerEnumerated  CreateASN1Enumerated (IAsn1Encodable i)
  Create ASN1 Enumerated wrapper from IASN1Encodable value. More...
 
IAsn1Encoding  CreateASN1Encoding ()
  Create ASN1 Encoding without parameters. More...
 
IAttributeTable  CreateAttributeTable (IAsn1Set unat)
  Create attribute table wrapper from ASN1 Set wrapper. More...
 
IPkcsObjectIdentifiers  CreatePKCSObjectIdentifiers ()
  Create PKCS Object identifiers wrapper without parameters. More...
 
IAttribute  CreateAttribute (IDerObjectIdentifier attrType, IAsn1Set attrValues)
  Create attribute wrapper from ASN1 Object identifier wrapper and ASN1 Set wrapper. More...
 
IContentInfo  CreateContentInfo (IAsn1Sequence sequence)
  Create content info wrapper from ASN1 Sequence wrapper. More...
 
IContentInfo  CreateContentInfo (IDerObjectIdentifier objectIdentifier, IAsn1Encodable encodable)
  Create content info wrapper from ASN1 Object identifier wrapper and ASN1 Encodable wrapper. More...
 
ITimeStampToken  CreateTimeStampToken (IContentInfo contentInfo)
  Create timestamp token wrapper from content info wrapper. More...
 
ISigningCertificate  CreateSigningCertificate (IAsn1Sequence sequence)
  Create signing certificate wrapper from ASN1 Sequence wrapper. More...
 
ISigningCertificateV2  CreateSigningCertificateV2 (IAsn1Sequence sequence)
  Create signing certificate version 2 wrapper from ASN1 Sequence wrapper. More...
 
IBasicOcspResponse  CreateBasicOCSPResponse (IAsn1Object primitive)
  Create basic OCSP Response wrapper from ASN1 Primitive wrapper. More...
 
IBasicOcspResponse  CreateBasicOCSPResponse (byte[] bytes)
  Create basic OCSP Response wrapper from bytes array. More...
 
IBasicOcspResponse  CreateBasicOCSPResponse (Object response)
  Create basic OCSP Resp wrapper from System.Object. More...
 
IOcspObjectIdentifiers  CreateOCSPObjectIdentifiers ()
  Create OCSP Object identifiers wrapper without parameters. More...
 
IAlgorithmIdentifier  CreateAlgorithmIdentifier (IDerObjectIdentifier algorithm)
  Create algorithm identifier wrapper from ASN1 Object identifier wrapper. More...
 
IAlgorithmIdentifier  CreateAlgorithmIdentifier (IDerObjectIdentifier algorithm, IAsn1Encodable parameters)
  Create algorithm identifier wrapper from ASN1 Object identifier wrapper and ASN1 Encodable wrapper. More...
 
IRsassaPssParameters  CreateRSASSAPSSParams (IAsn1Encodable encodable)
  Create a RSASSA-PSS params wrapper from an ASN1 Encodable wrapper. More...
 
IRsassaPssParameters  CreateRSASSAPSSParamsWithMGF1 (IDerObjectIdentifier digestAlgoOid, int saltLen, int trailerField)
  Create a RSASSA-PSS params wrapper from a digest algorithm OID, a salt length and a trailer field length. The mask generation function will be set to MGF1, and the same digest algorithm will be used to populate the MGF parameters. More...
 
String  GetProviderName ()
  Get System.String which represents providers name for this factory. More...
 
ICertID  CreateCertificateID ()
  Create certificate ID wrapper without parameters. More...
 
IX509Extensions  CreateExtensions ()
  Create extensions wrapper without parameters. More...
 
IX509Extensions  CreateExtensions (IDictionary objectIdentifier)
  Create extensions wrapper from System.Collections.IDictionary. More...
 
IOcspReqGenerator  CreateOCSPReqBuilder ()
  Create OCSP Req builder wrapper without parameters. More...
 
ISigPolicyQualifierInfo  CreateSigPolicyQualifierInfo (IDerObjectIdentifier objectIdentifier, IDerIA5String @string)
  Create sig policy qualifier info wrapper from ASN1 Object identifier wrapper and DERIA5 String wrapper. More...
 
IDerStringBase  CreateASN1String (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 String wrapper. More...
 
IAsn1Object  CreateASN1Primitive (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 Primitive wrapper. More...
 
IAsn1Object  CreateASN1Primitive (byte[] array)
  Create ASN1 Primitive wrapper from byte[] value. More...
 
IOcspResponse  CreateOCSPResponse (byte[] bytes)
  Create OCSP Resp wrapper from byte[] value. More...
 
IOcspResponse  CreateOCSPResponse ()
  Create OCSP Resp wrapper without parameters. More...
 
IOcspResponse  CreateOCSPResponse (IOcspResponseStatus respStatus, IResponseBytes responseBytes)
  Create OCSP Response wrapper from OCSP Response status wrapper and response bytes wrapper. More...
 
IResponseBytes  CreateResponseBytes (IDerObjectIdentifier asn1ObjectIdentifier, IDerOctetString derOctetString)
  Create response bytes wrapper from ASN1 Object identifier wrapper and DER Octet string wrapper. More...
 
IOcspResponse  CreateOCSPResponse (int respStatus, Object ocspRespObject)
  Create OCSP Response wrapper from int value and System.object More...
 
IOcspResponseStatus  CreateOCSPResponseStatus (int status)
  Create OCSP Response status wrapper from int value. More...
 
IOcspResponseStatus  CreateOCSPResponseStatus ()
  Create OCSP Response status wrapper without parameters. More...
 
ICertStatus  CreateCertificateStatus ()
  Create certificate status wrapper without parameters. More...
 
IRevokedCertStatus  CreateRevokedStatus (ICertStatus certificateStatus)
  Create revoked status wrapper from certificate status wrapper. More...
 
IRevokedCertStatus  CreateRevokedStatus (DateTime date, int i)
  Create revoked status wrapper from System.DateTime and int value. More...
 
IDerIA5String  CreateDERIA5String (IAsn1TaggedObject taggedObject, bool b)
  Create DERIA5 String wrapper from ASN1 Tagged object wrapper and boolean value. More...
 
IDerIA5String  CreateDERIA5String (String str)
  Create DERIA5 String wrapper from System.String value. More...
 
ICrlDistPoint  CreateCRLDistPoint (Object @object)
  Create CRL Dist point wrapper from System.Object. More...
 
IIssuingDistributionPoint  CreateIssuingDistributionPoint (Object point)
  Create Issuing Distribution Point wrapper from the object. More...
 
IIssuingDistributionPoint  CreateIssuingDistributionPoint (IDistributionPointName distributionPoint, bool onlyContainsUserCerts, bool onlyContainsCACerts, IReasonFlags onlySomeReasons, bool indirectCRL, bool onlyContainsAttributeCerts)
  Create Issuing Distribution Point wrapper with specified values. More...
 
IReasonFlags  CreateReasonFlags (int reasons)
  Creates the wrapper for ReasonFlags. More...
 
IDistributionPointName  CreateDistributionPointName ()
  Create distribution point name wrapper without parameters. More...
 
IDistributionPointName  CreateDistributionPointName (IGeneralNames generalNames)
  Create distribution point name wrapper by passing general names. More...
 
IGeneralNames  CreateGeneralNames (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to general names wrapper. More...
 
IGeneralName  CreateGeneralName ()
  Create general name wrapper without parameters. More...
 
IOtherHashAlgAndValue  CreateOtherHashAlgAndValue (IAlgorithmIdentifier algorithmIdentifier, IAsn1OctetString octetString)
  Create other hash alg and value wrapper from algorithm identifier wrapper and ASN1 Octet string wrapper. More...
 
ISignaturePolicyId  CreateSignaturePolicyId (IDerObjectIdentifier objectIdentifier, IOtherHashAlgAndValue algAndValue)
  Create signature policy id wrapper from ASN1 Object identifier wrapper and other hash alg and value wrapper. More...
 
ISignaturePolicyId  CreateSignaturePolicyId (IDerObjectIdentifier objectIdentifier, IOtherHashAlgAndValue algAndValue, params ISigPolicyQualifierInfo[] policyQualifiers)
  Create signature policy id wrapper from ASN1 Object identifier wrapper, other hash alg and value wrapper and sig policy qualifier info wrappers. More...
 
ISignaturePolicyIdentifier  CreateSignaturePolicyIdentifier (ISignaturePolicyId policyId)
  Create signature policy identifier wrapper from signature policy id wrapper. More...
 
IEnvelopedData  CreateEnvelopedData (IOriginatorInfo originatorInfo, IAsn1Set set, IEncryptedContentInfo encryptedContentInfo, IAsn1Set set1)
  Create enveloped data wrapper from originator info wrapper, ASN1 Set wrapper, encrypted content info wrapper and another ASN1 Set wrapper. More...
 
IRecipientInfo  CreateRecipientInfo (IKeyTransRecipientInfo keyTransRecipientInfo)
  Create recipient info wrapper from key trans recipient info wrapper. More...
 
IEncryptedContentInfo  CreateEncryptedContentInfo (IDerObjectIdentifier data, IAlgorithmIdentifier algorithmIdentifier, IAsn1OctetString octetString)
  Create encrypted content info wrapper from ASN1 Object identifier wrapper, algorithm identifier wrapper and ASN1 Octet string wrapper. More...
 
ITbsCertificateStructure  CreateTBSCertificate (IAsn1Encodable encodable)
  Create TBS Certificate wrapper from ASN1 Encodable wrapper. More...
 
ITbsCertificateStructure  CreateTBSCertificate (byte[] bytes)
  Create TBS Certificate wrapper from ASN1 Encoded data. More...
 
IIssuerAndSerialNumber  CreateIssuerAndSerialNumber (IX500Name issuer, IBigInteger value)
  Create issuer and serial number wrapper from X500 Name wrapper and iText.Commons.Bouncycastle.Math.IBigInteger. More...
 
IRecipientIdentifier  CreateRecipientIdentifier (IIssuerAndSerialNumber issuerAndSerialNumber)
  Create recipient identifier wrapper from issuer and serial number wrapper. More...
 
IKeyTransRecipientInfo  CreateKeyTransRecipientInfo (IRecipientIdentifier recipientIdentifier, IAlgorithmIdentifier algorithmIdentifier, IAsn1OctetString octetString)
  Create key trans recipient info wrapper from recipient identifier wrapper, algorithm identifier wrapper and ASN1 Octet string wrapper. More...
 
IOriginatorInfo  CreateNullOriginatorInfo ()
  Create originator info wrapper with null value. More...
 
ICmsEnvelopedData  CreateCMSEnvelopedData (byte[] valueBytes)
  Create CMS enveloped data from byte[] value. More...
 
ITimeStampRequestGenerator  CreateTimeStampRequestGenerator ()
  Create timestamp request generator wrapper without parameters. More...
 
ITimeStampResponse  CreateTimeStampResponse (byte[] respBytes)
  Create timestamp response wrapper from byte[] value. More...
 
AbstractOcspException  CreateAbstractOCSPException (Exception e)
  Create OCSP Exception wrapper from usual System.Exception. More...
 
IUnknownCertStatus  CreateUnknownStatus ()
  Create unknown status wrapper without parameters. More...
 
IAsn1Dump  CreateASN1Dump ()
  Create ASN1 Dump wrapper without parameters. More...
 
IDerBitString  CreateASN1BitString (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 Bit string wrapper. More...
 
IDerGeneralizedTime  CreateASN1GeneralizedTime (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 Generalized time wrapper. More...
 
IDerGeneralizedTime  CreateASN1GeneralizedTime (DateTime date)
  Cast DateTime to ASN1 Generalized time wrapper. More...
 
IDerUtcTime  CreateASN1UTCTime (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 UTC Time wrapper. More...
 
ITimeStampTokenGenerator  CreateTimeStampTokenGenerator (IPrivateKey pk, IX509Certificate cert, string allowedDigest, string policyOid)
  Create timestamp response generator wrapper from private key wrapper, X509 Certificate wrapper, System.string allowed digest and System.string policy oid. More...
 
ITimeStampResponseGenerator  CreateTimeStampResponseGenerator (ITimeStampTokenGenerator tokenGenerator, IList algorithms)
  Create timestamp response generator wrapper from timestamp token generator wrapper and System.Collections.IList of algorithms. More...
 
ITimeStampRequest  CreateTimeStampRequest (byte[] bytes)
  Create timestamp request wrapper from byte[] value. More...
 
IX500Name  CreateX500Name (IX509Certificate certificate)
  Create X500 Name wrapper from iText.Commons.Bouncycastle.Cert.IX509Certificate. More...
 
IX500Name  CreateX500Name (String s)
  Create X500 Name wrapper from System.String. More...
 
IX500Name  CreateX500Name (IAsn1Sequence s)
  Create X500 Name wrapper from IAsn1Sequence. More...
 
IRespID  CreateRespID (IX500Name x500Name)
  Create resp ID wrapper from X500 Name wrapper. More...
 
IBasicOcspRespGenerator  CreateBasicOCSPRespBuilder (IRespID respID)
  Create basic OCSP Resp builder wrapper from resp ID wrapper. More...
 
IOcspRequest  CreateOCSPReq (byte[] requestBytes)
  Create OCSP Req wrapper from byte[]. More...
 
IX509V2CrlGenerator  CreateX509v2CRLBuilder (IX500Name x500Name, DateTime thisUpdate)
  Create X509 Version 2 CRL Builder wrapper from X500 Name wrapper and System.DateTime. More...
 
IX509V3CertificateGenerator  CreateJcaX509v3CertificateBuilder (IX509Certificate signingCert, IBigInteger certSerialNumber, DateTime startDate, DateTime endDate, IX500Name subjectDnName, IPublicKey publicKey)
  Create Jca X509 Version 3 certificate builder wrapper from iText.Commons.Bouncycastle.Cert.IX509Certificate , iText.Commons.Bouncycastle.Math.IBigInteger , start System.DateTime , end System.DateTime , X500 Name wrapper and iText.Commons.Bouncycastle.Crypto.IPublicKey. More...
 
IBasicConstraints  CreateBasicConstraints (bool b)
  Create basic constraints wrapper from boolean value. More...
 
IBasicConstraints  CreateBasicConstraints (int pathLength)
  Create basic constraints wrapper from int value. More...
 
IKeyUsage  CreateKeyUsage ()
  Create key usage wrapper without parameters. More...
 
IKeyUsage  CreateKeyUsage (int i)
  Create key usage wrapper from int value. More...
 
IKeyPurposeID  CreateKeyPurposeId ()
  Create key purpose id wrapper without parameters. More...
 
IExtendedKeyUsage  CreateExtendedKeyUsage (IKeyPurposeID purposeId)
  Create extended key usage wrapper from key purpose id wrapper. More...
 
IExtendedKeyUsage  CreateExtendedKeyUsage (IDerObjectIdentifier[] purposeId)
  Create extended key usage wrapper from an array of object identifier wrappers. More...
 
ISubjectPublicKeyInfo  CreateSubjectPublicKeyInfo (IPublicKey publicKey)
  Create subject public key info wrapper from public key wrapper More...
 
ICrlReason  CreateCRLReason ()
  Create CRL Reason wrapper without parameters. More...
 
ITstInfo  CreateTSTInfo (IContentInfo contentInfo)
  Create TST Info wrapper from content info wrapper. More...
 
ITstInfo  CreateTSTInfo (IAsn1Object contentInfo)
  Create TST Info wrapper from content info wrapper. More...
 
ISingleResponse  CreateSingleResp (IBasicOcspResponse basicResp)
  Create single resp wrapper from basic OCSP Response wrapper. More...
 
IX509Certificate  CreateX509Certificate (Stream s)
  Create X509 Certificate wrapper from System.IO.Stream. More...
 
IX509Crl  CreateX509Crl (Stream input)
  Create X509 Crl wrapper from System.IO.Stream. More...
 
ICollection< IX509Crl CreateX509Crls (Stream input)
  Create collection of the X509 Crl wrappers from System.IO.Stream. More...
 
IDigest  CreateIDigest (string hashAlgorithm)
  Create digest wrapper from System.string hash algorithm. More...
 
ICertID  CreateCertificateID (string hashAlgorithm, IX509Certificate issuerCert, IBigInteger serialNumber)
  Create certificate ID wrapper from System.string hash algorithm, X509 Certificate wrapper and big integer wrapper. More...
 
IX500Name  CreateX500NameInstance (IAsn1Encodable issuer)
  Create X500 Name wrapper from ASN1 Encodable wrapper using getInstance call. More...
 
IOcspRequest  CreateOCSPReq (ICertID certId, byte[] documentId)
  Create OCSP Req wrapper from certificate ID wrapper and byte[] document id. More...
 
ISigner  CreateISigner ()
  Create signer wrapper without parameters. More...
 
IX509CertificateParser  CreateX509CertificateParser ()
  Create X509 Certificate parser wrapper without parameters. More...
 
AbstractGeneralSecurityException  CreateGeneralSecurityException (string exceptionMessage, Exception exception)
  Create general security exception wrapper from System.string exception message and System.Exception exception. More...
 
AbstractGeneralSecurityException  CreateGeneralSecurityException (string exceptionMessage)
  Create general security exception wrapper from System.string exception message. More...
 
AbstractGeneralSecurityException  CreateGeneralSecurityException ()
  Create general security exception wrapper without parameters. More...
 
IX509Certificate  CreateX509Certificate (Object element)
  Cast System.Object element to iText.Commons.Bouncycastle.Cert.IX509Certificate. More...
 
IBouncyCastleTestConstantsFactory  GetBouncyCastleFactoryTestUtil ()
  Get IBouncyCastleTestConstantsFactory corresponding to this IBouncyCastleFactory. More...
 
IBigInteger  CreateBigInteger ()
  Create big integer wrapper without parameters. More...
 
IBigInteger  CreateBigInteger (int i, byte[] array)
  Create big integer wrapper from int value and byte[] array. More...
 
IBigInteger  CreateBigInteger (string str)
  Create big integer wrapper from System.string value. More...
 
ICipher  CreateCipher (bool forEncryption, byte[] key, byte[] iv)
  Create cipher wrapper from bool value, byte[] key and byte[] value. More...
 
ICipherCBCnoPad  CreateCipherCbCnoPad (bool forEncryption, byte[] key, byte[] iv)
  Create cipher Cbc no pad wrapper from bool value, byte[] key and byte[] value. More...
 
ICipherCBCnoPad  CreateCipherCbCnoPad (bool forEncryption, byte[] key)
  Create cipher Cbc no pad wrapper from bool value and byte[] key. More...
 
IX509Crl  CreateNullCrl ()
  Create null as iText.Commons.Bouncycastle.Cert.IX509Crl object. More...
 
IRsaKeyPairGenerator  CreateRsa2048KeyPairGenerator ()
  Create Rsa 2048 key pair generator wrapper without parameters. More...
 
IPemReader  CreatePEMParser (TextReader reader, char[] password)
  Create PEM Parser wrapper from System.IO.TextReader. More...
 
IContentSigner  CreateContentSigner (string signatureAlgorithm, IPrivateKey signingKey)
  Create content signer wrapper from System.string signature algorithm and private key wrapper. More...
 
IAuthorityKeyIdentifier  CreateAuthorityKeyIdentifier (ISubjectPublicKeyInfo issuerPublicKeyInfo)
  Create authority key identifier wrapper from subject public key info wrapper. More...
 
ISubjectKeyIdentifier  CreateSubjectKeyIdentifier (ISubjectPublicKeyInfo subjectPublicKeyInfo)
  Create subject key identifier from subject public key info wrapper. More...
 
IX509Extension  CreateExtension (bool b, IDerOctetString octetString)
  Create extension wrapper from bool value and DER Octet string wrapper. More...
 
bool  IsNullExtension (IX509Extension extNonce)
  Checks if provided extension wrapper wraps null. More...
 
bool  IsNull (IAsn1Encodable encodable)
  Check if provided encodable wrapper wraps null. More...
 
RNGCryptoServiceProvider  GetSecureRandom ()
  Get SecureRandom implementation from the factory. More...
 
byte[]  CreateCipherBytes (IX509Certificate x509Certificate, byte[] abyte0, IAlgorithmIdentifier algorithmidentifier)
  Create byte[] cipher bytes from X509 Certificate wrapper, byte[] array and algorithm identifier wrapper. More...
 
bool  IsInApprovedOnlyMode ()
  Check if this bouncy-castle corresponding to this factory is in approved mode. More...
 
void  IsEncryptionFeatureSupported (int encryptionType, bool withCertificate)
  Checks whether an algorithm is supported for encryption by the chosen Bouncy Castle implementation, throws an exception when not supported. More...
 
IBouncyCastleUtil  GetBouncyCastleUtil ()
  Get Bouncy-Castle Util instance implementation related to this IBouncyCastleFactory More...
 
string  CreateEndDate (IX509Certificate certificate)
  Create string from the end date of the certificate. More...
 
byte[]  GenerateHKDF (byte[] inputKey, byte[] salt, byte[] info)
  Generates byte array based on extract-and-expand key derivation function, using provided parameters. More...
 
byte[]  GenerateHMACSHA256Token (byte[] key, byte[] data)
  Generates byte array based MAC token according to HMACSHA256 algorithm. More...
 
byte[]  GenerateEncryptedKeyWithAES256NoPad (byte[] key, byte[] kek)
  Generates encrypted key based on AES256 without padding wrapping algorithm. More...
 
byte[]  GenerateDecryptedKeyWithAES256NoPad (byte[] key, byte[] kek)
  Generates decrypted key based on AES256 without padding unwrapping algorithm. More...
 
IGCMBlockCipher  CreateGCMBlockCipher ()
 

Detailed Description

IBouncyCastleFactory contains methods required for bouncy-classes objects creation.

IBouncyCastleFactory contains methods required for bouncy-classes objects creation. Implementation will be selected depending on a bouncy-castle dependency specified by the user.

Member Function Documentation

◆ CreateAbstractOCSPException()

AbstractOcspException iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateAbstractOCSPException ( Exception  e )

Create OCSP Exception wrapper from usual System.Exception.

Parameters
e

System.Exception to create OCSP Exception wrapper from

Returns
created OCSP Exception wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateAlgorithmIdentifier() [1/2]

IAlgorithmIdentifier iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateAlgorithmIdentifier ( IDerObjectIdentifier  algorithm )

Create algorithm identifier wrapper from ASN1 Object identifier wrapper.

Parameters
algorithm ASN1 Object identifier wrapper to create algorithm identifier wrapper from
Returns
created algorithm identifier wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateAlgorithmIdentifier() [2/2]

IAlgorithmIdentifier iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateAlgorithmIdentifier ( IDerObjectIdentifier  algorithm,
IAsn1Encodable  parameters 
)

Create algorithm identifier wrapper from ASN1 Object identifier wrapper and ASN1 Encodable wrapper.

Parameters
algorithm ASN1 Object identifier wrapper to create algorithm identifier wrapper from
encodable ASN1 Encodable wrapper to create algorithm identifier wrapper from
Returns
created algorithm identifier wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1BitString()

IDerBitString iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1BitString ( IAsn1Encodable  encodable )

Cast ASN1 Encodable wrapper to ASN1 Bit string wrapper.

Parameters
encodable ASN1 Encodable wrapper to be cast
Returns
casted ASN1 Bit string wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Dump()

IAsn1Dump iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Dump ( )

Create ASN1 Dump wrapper without parameters.

Returns
created ASN1 Dump wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1EncodableVector()

IAsn1EncodableVector iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1EncodableVector ( )

Create ASN1 Encodable wrapper without parameters.

Returns
created ASN1 Encodable wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Encoding()

IAsn1Encoding iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Encoding ( )

Create ASN1 Encoding without parameters.

Returns
created ASN1 Encoding

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Enumerated() [1/2]

IDerEnumerated iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Enumerated ( IAsn1Encodable  i )

Create ASN1 Enumerated wrapper from IASN1Encodable value.

Parameters
object

IASN1Encodable to create ASN1 Enumerated wrapper from

Returns
created ASN1 Enumerated wrapper.

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Enumerated() [2/2]

IDerEnumerated iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Enumerated ( int  i )

Create ASN1 Enumerated wrapper from int value.

Parameters
i

int to create ASN1 Enumerated wrapper from

Returns
created ASN1 Enumerated wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1GeneralizedTime() [1/2]

IDerGeneralizedTime iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1GeneralizedTime ( DateTime  date )

Cast DateTime to ASN1 Generalized time wrapper.

Parameters
date DateTime to be cast
Returns
ASN1 Generalized time wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1GeneralizedTime() [2/2]

IDerGeneralizedTime iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1GeneralizedTime ( IAsn1Encodable  encodable )

Cast ASN1 Encodable wrapper to ASN1 Generalized time wrapper.

Parameters
encodable ASN1 Encodable wrapper to be cast
Returns
casted ASN1 Generalized time wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1InputStream() [1/2]

IAsn1InputStream iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1InputStream ( byte[]  bytes )

Create ASN1 Input stream wrapper from byte[].

Parameters
bytes

byte[] to create ASN1 Input stream from

Returns
created ASN1 Input stream

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1InputStream() [2/2]

IAsn1InputStream iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1InputStream ( Stream  stream )

Create ASN1 Input stream wrapper from System.IO.Stream.

Parameters
stream

System.IO.Stream to create ASN1 Input stream from

Returns
created ASN1 Input stream

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Integer() [1/3]

IDerInteger iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Integer ( IAsn1Encodable  encodable )

Cast ASN1 Encodable wrapper to ASN1 Integer wrapper.

Parameters
encodable ASN1 Encodable wrapper to be cast
Returns
casted ASN1 Integer

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Integer() [2/3]

IDerInteger iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Integer ( IBigInteger  i )

◆ CreateASN1Integer() [3/3]

IDerInteger iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Integer ( int  i )

Create ASN1 Integer wrapper from int.

Parameters
i

int to create ASN1 Integer wrapper from

Returns
created ASN1 Integer wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1ObjectIdentifier() [1/2]

IDerObjectIdentifier iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1ObjectIdentifier ( IAsn1Encodable  encodable )

Cast ASN1 encodable wrapper to the ASN1 object identifier wrapper.

Parameters
encodable wrapper to be cast
Returns
casted wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1ObjectIdentifier() [2/2]

IDerObjectIdentifier iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1ObjectIdentifier ( String  str )

Create ASN1 Object identifier wrapper from System.String.

Parameters
str

System.String to create object identifier from

Returns
created object identifier

Implemented in iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastlefips.BouncyCastleFipsFactory.

◆ CreateASN1ObjectIdentifierInstance()

IDerObjectIdentifier iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1ObjectIdentifierInstance ( Object @  object )

Create ASN1 Object identifier wrapper from System.Object using getInstance method call.

Parameters
object

System.Object to create object identifier from

Returns
created object identifier

Implemented in iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastlefips.BouncyCastleFipsFactory.

◆ CreateASN1OctetString() [1/4]

IAsn1OctetString iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1OctetString ( byte[]  bytes )

Create ASN1 Octet string wrapper from byte[].

Parameters
bytes

byte[] to create ASN1 Octet string wrapper from

Returns
created ASN1 Octet string wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1OctetString() [2/4]

IAsn1OctetString iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1OctetString ( IAsn1Encodable  encodable )

Cast ASN1 Encodable wrapper to the ASN1 Octet string wrapper.

Parameters
encodable to be casted to ASN1 Octet string wrapper
Returns
casted ASN1 Octet string wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1OctetString() [3/4]

IAsn1OctetString iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1OctetString ( IAsn1Object  primitive )

Create ASN1 Octet string wrapper from ASN1 Primitive wrapper.

Parameters
primitive ASN1 Primitive wrapper to create ASN1 Octet string wrapper from
Returns
created ASN1 Octet string wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1OctetString() [4/4]

IAsn1OctetString iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1OctetString ( IAsn1TaggedObject  taggedObject,
bool  b 
)

Create ASN1 Octet string wrapper from ASN1 Tagged object wrapper and boolean parameter.

Parameters
taggedObject ASN1 Tagged object wrapper to create ASN1 Octet string wrapper from
b boolean to create ASN1 Octet string wrapper
Returns
created ASN1 Octet string wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1OutputStream() [1/2]

IDerOutputStream iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1OutputStream ( Stream  outputStream,
String  asn1Encoding 
)

Create ASN1 Output stream wrapper from System.IO.Stream and ASN1 Encoding.

Parameters
outputStream

System.IO.Stream to create ASN1 Output stream wrapper from

Parameters
asn1Encoding ASN1 Encoding to be used
Returns
created ASN1 Output stream wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastlefips.BouncyCastleFipsFactory.

◆ CreateASN1OutputStream() [2/2]

IDerOutputStream iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1OutputStream ( Stream  stream )

Create ASN1 Output stream wrapper from System.IO.Stream.

Parameters
stream

System.IO.Stream to create ASN1 Output stream wrapper from

Returns
created ASN1 Output stream wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Primitive() [1/2]

IAsn1Object iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Primitive ( byte[]  array )

Create ASN1 Primitive wrapper from byte[] value.

Parameters
array

byte[] value to create ASN1 Primitive wrapper from

Returns
created ASN1 Primitive wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Primitive() [2/2]

IAsn1Object iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Primitive ( IAsn1Encodable  encodable )

Cast ASN1 Encodable wrapper to ASN1 Primitive wrapper.

Parameters
encodable ASN1 Encodable wrapper to be cast
Returns
casted ASN1 Primitive wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Sequence() [1/3]

IAsn1Sequence iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Sequence ( byte[]  array )

Create ASN1 Sequence wrapper from byte[].

Parameters
array

byte[] to create ASN1 Sequence wrapper from

Returns
created ASN1 Sequence wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Sequence() [2/3]

IAsn1Sequence iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Sequence ( IAsn1Encodable  encodable )

Cast ASN1 encodable wrapper to the ASN1 Sequence wrapper.

Parameters
encodable to be casted to ASN1 Sequence wrapper
Returns
casted ASN1 Sequence wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Sequence() [3/3]

IAsn1Sequence iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Sequence ( Object @  object )

Cast System.Object to ASN1 Sequence wrapper.

Parameters
object

System.Object to be cast. Must be instance of ASN1 Sequence

Returns
casted ASN1 Sequence wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastlefips.BouncyCastleFipsFactory.

◆ CreateASN1SequenceInstance()

IAsn1Sequence iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1SequenceInstance ( Object @  object )

Create ASN1 Sequence wrapper from System.Object using getInstance method call.

Parameters
object

System.Object to create ASN1 Sequence wrapper from

Returns
created ASN1 Sequence wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastlefips.BouncyCastleFipsFactory.

◆ CreateASN1Set() [1/3]

IAsn1Set iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Set ( IAsn1Encodable  encodable )

Cast ASN1 Encodable wrapper to ASN1 Set wrapper.

Parameters
encodable ASN1 Encodable wrapper to be cast
Returns
casted ASN1 Set

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Set() [2/3]

IAsn1Set iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Set ( IAsn1TaggedObject  taggedObject,
bool  b 
)

Create ASN1 Set wrapper from ASN1 Tagged object wrapper and boolean parameter.

Parameters
taggedObject ASN1 Tagged object wrapper to create ASN1 Set wrapper from
b boolean to create ASN1 Set wrapper
Returns
created ASN1 Set wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1Set() [3/3]

IAsn1Set iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1Set ( Object  encodable )

Create ASN1 Set wrapper from System.Object.

Parameters
encodable

System.Object to create ASN1 Set wrapper from. Must be instance of ASN1 Set

Returns
created ASN1 Set wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastlefips.BouncyCastleFipsFactory.

◆ CreateASN1String()

IDerStringBase iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1String ( IAsn1Encodable  encodable )

Cast ASN1 Encodable wrapper to ASN1 String wrapper.

Parameters
encodable ASN1 Encodable wrapper to be cast
Returns
casted ASN1 String wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1TaggedObject()

IAsn1TaggedObject iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1TaggedObject ( IAsn1Encodable  encodable )

Create ASN1 Tagged object wrapper from ASN1 Encodable wrapper.

Parameters
encodable ASN1 Encodable vector to create ASN1 Tagged object wrapper from
Returns
created ASN1 Tagged object wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateASN1UTCTime()

IDerUtcTime iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateASN1UTCTime ( IAsn1Encodable  encodable )

Cast ASN1 Encodable wrapper to ASN1 UTC Time wrapper.

Parameters
encodable ASN1 Encodable wrapper to be cast
Returns
casted ASN1 UTC Time wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateAttribute()

IAttribute iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateAttribute ( IDerObjectIdentifier  attrType,
IAsn1Set  attrValues 
)

Create attribute wrapper from ASN1 Object identifier wrapper and ASN1 Set wrapper.

Parameters
attrType ASN1 Object identifier wrapper to create attribute wrapper from
attrValues ASN1 Object identifier wrapper to create attribute wrapper from
Returns
created attribute wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateAttributeTable()

IAttributeTable iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateAttributeTable ( IAsn1Set  unat )

Create attribute table wrapper from ASN1 Set wrapper.

Parameters
unat ASN1 Set wrapper to create attribute table wrapper from
Returns
created attribute table wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateAuthorityKeyIdentifier()

IAuthorityKeyIdentifier iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateAuthorityKeyIdentifier ( ISubjectPublicKeyInfo  issuerPublicKeyInfo )

Create authority key identifier wrapper from subject public key info wrapper.

Parameters
issuerPublicKeyInfo subject public key info wrapper to create authority key identifier wrapper from
Returns
created authority key identifier wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateBasicConstraints() [1/2]

IBasicConstraints iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateBasicConstraints ( bool  b )

Create basic constraints wrapper from boolean value.

Parameters
b

boolean value to create basic constraints wrapper from

Returns
created basic constraints wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateBasicConstraints() [2/2]

IBasicConstraints iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateBasicConstraints ( int  pathLength )

Create basic constraints wrapper from int value.

Parameters
pathLength

int flag to create basic constraints wrapper from

Returns
created basic constraints wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateBasicOCSPRespBuilder()

IBasicOcspRespGenerator iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateBasicOCSPRespBuilder ( IRespID  respID )

Create basic OCSP Resp builder wrapper from resp ID wrapper.

Parameters
respID resp ID wrapper to create basic OCSP Resp builder wrapper from
Returns
created basic OCSP Resp builder wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateBasicOCSPResponse() [1/3]

IBasicOcspResponse iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateBasicOCSPResponse ( byte[]  bytes )

Create basic OCSP Response wrapper from bytes array.

Parameters
bytes bytes array to create basic OCSP response wrapper from
Returns
created basic OCSP response wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateBasicOCSPResponse() [2/3]

IBasicOcspResponse iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateBasicOCSPResponse ( IAsn1Object  primitive )

Create basic OCSP Response wrapper from ASN1 Primitive wrapper.

Parameters
primitive ASN1 Primitive wrapper to create basic OCSP response wrapper from
Returns
created basic OCSP response wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateBasicOCSPResponse() [3/3]

IBasicOcspResponse iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateBasicOCSPResponse ( Object  response )

Create basic OCSP Resp wrapper from System.Object.

Parameters
response

System.Object to create basic OCSP Resp wrapper from. Must be actual basic OCSP Resp instance

Returns
created basic OCSP Resp wrapper

◆ CreateBigInteger() [1/3]

IBigInteger iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateBigInteger ( )

Create big integer wrapper without parameters.

Returns
created big integer wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateBigInteger() [2/3]

IBigInteger iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateBigInteger ( int  i,
byte[]  array 
)

Create big integer wrapper from int value and byte[] array.

Parameters
i

int value to create big integer wrapper from

Parameters
array

byte[] array to create big integer wrapper from

Returns
created big integer wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateBigInteger() [3/3]

IBigInteger iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateBigInteger ( string  str )

Create big integer wrapper from System.string value.

Parameters
str

System.string value to create big integer wrapper from

Returns
created big integer wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateCertificateID() [1/2]

ICertID iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateCertificateID ( )

Create certificate ID wrapper without parameters.

Returns
created certificate ID wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateCertificateID() [2/2]

ICertID iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateCertificateID ( string  hashAlgorithm,
IX509Certificate  issuerCert,
IBigInteger  serialNumber 
)

Create certificate ID wrapper from System.string hash algorithm, X509 Certificate wrapper and big integer wrapper.

Parameters
hashAlgorithm

System.string hash algorithm to create certificate ID wrapper from

Parameters
issuerCert X509 Certificate wrapper to create certificate ID wrapper from
serialNumber big integer wrapper to create certificate ID wrapper from
Returns
created certificate ID wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateCertificateStatus()

ICertStatus iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateCertificateStatus ( )

Create certificate status wrapper without parameters.

Returns
created certificate status wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateCipher()

ICipher iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateCipher ( bool  forEncryption,
byte[]  key,
byte[]  iv 
)

Create cipher wrapper from bool value, byte[] key and byte[] value.

Parameters
forEncryption

bool value to create cipher wrapper from

Parameters
key

byte[] key to create cipher wrapper from

Parameters
iv

byte[] value to create cipher wrapper from

Returns
created cipher wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateCipherBytes()

byte [] iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateCipherBytes ( IX509Certificate  x509Certificate,
byte[]  abyte0,
IAlgorithmIdentifier  algorithmidentifier 
)

Create byte[] cipher bytes from X509 Certificate wrapper, byte[] array and algorithm identifier wrapper.

Parameters
x509Certificate X509 Certificate wrapper to create cipher bytes from
abyte0

byte[] array to create cipher bytes from

Parameters
algorithmidentifier algorithm identifier wrapper to create cipher bytes from
Returns
created cipher bytes

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateCipherCbCnoPad() [1/2]

ICipherCBCnoPad iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateCipherCbCnoPad ( bool  forEncryption,
byte[]  key 
)

Create cipher Cbc no pad wrapper from bool value and byte[] key.

Parameters
forEncryption

bool value to create cipher Cbc no pad wrapper from

Parameters
key

byte[] key to create cipher Cbc no pad wrapper from

Returns
created cipher Cbc no pad wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateCipherCbCnoPad() [2/2]

ICipherCBCnoPad iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateCipherCbCnoPad ( bool  forEncryption,
byte[]  key,
byte[]  iv 
)

Create cipher Cbc no pad wrapper from bool value, byte[] key and byte[] value.

Parameters
forEncryption

bool value to create cipher Cbc no pad wrapper from

Parameters
key

byte[] key to create cipher Cbc no pad wrapper from

Parameters
iv

byte[] value to create cipher Cbc no pad wrapper from

Returns
created cipher Cbc no pad wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateCMSEnvelopedData()

ICmsEnvelopedData iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateCMSEnvelopedData ( byte[]  valueBytes )

Create CMS enveloped data from byte[] value.

Parameters
valueBytes

byte[] value to create CMS enveloped data from

Returns
created CMS enveloped data

Implemented in iText.Bouncycastleconnector.BouncyCastleDefaultFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastle.BouncyCastleFactory.

◆ CreateContentInfo() [1/2]

IContentInfo iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateContentInfo ( IAsn1Sequence  sequence )

Create content info wrapper from ASN1 Sequence wrapper.

Parameters
sequence ASN1 Sequence wrapper to create content info wrapper from
Returns
created content info wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateContentInfo() [2/2]

IContentInfo iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateContentInfo ( IDerObjectIdentifier  objectIdentifier,
IAsn1Encodable  encodable 
)

Create content info wrapper from ASN1 Object identifier wrapper and ASN1 Encodable wrapper.

Parameters
objectIdentifier ASN1 Object identifier wrapper to create content info wrapper from
encodable ASN1 Encodable wrapper to create content info wrapper from
Returns
created content info wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateContentSigner()

IContentSigner iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateContentSigner ( string  signatureAlgorithm,
IPrivateKey  signingKey 
)

Create content signer wrapper from System.string signature algorithm and private key wrapper.

Parameters
signatureAlgorithm

System.string signature algorithm to create content signer wrapper from

Parameters
signingKey private key wrapper to create content signer wrapper from
Returns
created content signer wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateCRLDistPoint()

ICrlDistPoint iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateCRLDistPoint ( Object @  object )

Create CRL Dist point wrapper from System.Object.

Parameters
object

System.Object to create CRL Dist point wrapper from

Returns
created CRL Dist point wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastle.BouncyCastleFactory.

◆ CreateCRLReason()

ICrlReason iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateCRLReason ( )

Create CRL Reason wrapper without parameters.

Returns
created CRL Reason wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDERIA5String() [1/2]

IDerIA5String iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERIA5String ( IAsn1TaggedObject  taggedObject,
bool  b 
)

Create DERIA5 String wrapper from ASN1 Tagged object wrapper and boolean value.

Parameters
taggedObject ASN1 Tagged object wrapper to create DERIA5 String wrapper from
b

boolean value to create DERIA5 String wrapper from

Returns
created DERIA5 String wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDERIA5String() [2/2]

IDerIA5String iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERIA5String ( String  str )

Create DERIA5 String wrapper from System.String value.

Parameters
str

System.String value to create DERIA5 String wrapper from

Returns
created DERIA5 String wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastle.BouncyCastleFactory.

◆ CreateDERNull()

IDerNull iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERNull ( )

Create DER Null wrapper without parameters.

Returns
created DER Null wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDEROctetString() [1/2]

IDerOctetString iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDEROctetString ( byte[]  bytes )

Create DER Octet string wrapper from byte[].

Parameters
bytes

byte[] to create DER Octet string wrapper from

Returns
created DER Octet string wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDEROctetString() [2/2]

IDerOctetString iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDEROctetString ( IAsn1Encodable  encodable )

Cast ASN1 Encodable wrapper to DER Octet string wrapper.

Parameters
encodable ASN1 Encodable wrapper to be casted
Returns
DER Octet string wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDERSequence() [1/2]

IDerSequence iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERSequence ( IAsn1EncodableVector  encodableVector )

Create DER Sequence wrapper from ASN1 Encodable vector wrapper.

Parameters
encodableVector ASN1 Encodable vector wrapper to create DER Sequence wrapper from
Returns
created DER Sequence wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDERSequence() [2/2]

IDerSequence iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERSequence ( IAsn1Object  primitive )

Create DER Sequence wrapper from ASN1 Primitive wrapper.

Parameters
primitive ASN1 Primitive wrapper to create DER Sequence wrapper from
Returns
created DER Sequence wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDERSet() [1/4]

IDerSet iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERSet ( IAsn1EncodableVector  encodableVector )

Create DER Set wrapper from ASN1 Encodable vector wrapper.

Parameters
encodableVector ASN1 Encodable vector wrapper to create DER Set wrapper from
Returns
created DER Set wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDERSet() [2/4]

IDerSet iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERSet ( IAsn1Object  primitive )

Create DER Set wrapper from ASN1 Primitive wrapper.

Parameters
primitive ASN1 Primitive wrapper to create DER Set wrapper from
Returns
created DER Set wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDERSet() [3/4]

IDerSet iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERSet ( IRecipientInfo  recipientInfo )

Create DER Set wrapper from recipient info wrapper.

Parameters
recipientInfo recipient info wrapper to create DER Set wrapper from
Returns
created DER Set wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDERSet() [4/4]

IDerSet iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERSet ( ISignaturePolicyIdentifier  identifier )

Create DER Set wrapper from signature policy identifier wrapper.

Parameters
identifier signature policy identifier wrapper to create DER Set wrapper from
Returns
created DER Set wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDERTaggedObject() [1/2]

IDerTaggedObject iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERTaggedObject ( bool  b,
int  i,
IAsn1Object  primitive 
)

Create DER Tagged object wrapper from int value, boolean value and ASN1 Primitive wrapper.

Parameters
b

boolean value for DER Tagged object wrapper creation

Parameters
i

int value for DER Tagged object wrapper creation

Parameters
primitive ASN1 Primitive wrapper to create DER Tagged object wrapper from
Returns
created DER Tagged object wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDERTaggedObject() [2/2]

IDerTaggedObject iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDERTaggedObject ( int  i,
IAsn1Object  primitive 
)

Create DER Tagged object wrapper from int value and ASN1 Primitive wrapper.

Parameters
i

int value for DER Tagged object wrapper creation

Parameters
primitive ASN1 Primitive wrapper to create DER Tagged object wrapper from
Returns
created DER Tagged object wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDistributionPointName() [1/2]

IDistributionPointName iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDistributionPointName ( )

Create distribution point name wrapper without parameters.

Returns
created distribution point name wrapper.

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateDistributionPointName() [2/2]

IDistributionPointName iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateDistributionPointName ( IGeneralNames  generalNames )

Create distribution point name wrapper by passing general names.

Parameters
generalNames general names to create distribution point name from
Returns
created distribution point name wrapper.

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateEncryptedContentInfo()

IEncryptedContentInfo iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateEncryptedContentInfo ( IDerObjectIdentifier  data,
IAlgorithmIdentifier  algorithmIdentifier,
IAsn1OctetString  octetString 
)

Create encrypted content info wrapper from ASN1 Object identifier wrapper, algorithm identifier wrapper and ASN1 Octet string wrapper.

Parameters
data ASN1 Object identifier wrapper to create encrypted content info wrapper from
algorithmIdentifier algorithm identifier wrapper to create encrypted content info wrapper from
octetString ASN1 Octet string wrapper to create encrypted content info wrapper from
Returns
created encrypted content info wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateEndDate()

string iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateEndDate ( IX509Certificate  certificate )

Create string from the end date of the certificate.

Parameters
certificate certificate to get end date
Returns
The end date of the certificate

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateEnvelopedData()

IEnvelopedData iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateEnvelopedData ( IOriginatorInfo  originatorInfo,
IAsn1Set  set,
IEncryptedContentInfo  encryptedContentInfo,
IAsn1Set  set1 
)

Create enveloped data wrapper from originator info wrapper, ASN1 Set wrapper, encrypted content info wrapper and another ASN1 Set wrapper.

Parameters
originatorInfo originator info wrapper to create enveloped data wrapper from
set ASN1 Set wrapper to create enveloped data wrapper from
encryptedContentInfo encrypted content info wrapper to create enveloped data wrapper from
set1 ASN1 Set wrapper to create enveloped data wrapper from
Returns
created enveloped data wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateExtendedKeyUsage() [1/2]

IExtendedKeyUsage iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateExtendedKeyUsage ( IDerObjectIdentifier[]  purposeId )

Create extended key usage wrapper from an array of object identifier wrappers.

Parameters
purposeId an array of object identifier wrappers
Returns
created extended key usage wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateExtendedKeyUsage() [2/2]

IExtendedKeyUsage iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateExtendedKeyUsage ( IKeyPurposeID  purposeId )

Create extended key usage wrapper from key purpose id wrapper.

Parameters
purposeId key purpose id wrapper to create extended key usage wrapper from
Returns
created extended key usage wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateExtension()

IX509Extension iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateExtension ( bool  b,
IDerOctetString  octetString 
)

Create extension wrapper from bool value and DER Octet string wrapper.

Parameters
b

bool value to create extension wrapper from

Parameters
octetString DER Octet string wrapper to create extension wrapper from
Returns
created extension wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateExtensions() [1/2]

IX509Extensions iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateExtensions ( )

Create extensions wrapper without parameters.

Returns
created extensions wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateExtensions() [2/2]

IX509Extensions iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateExtensions ( IDictionary  objectIdentifier )

Create extensions wrapper from System.Collections.IDictionary.

Returns
created extensions wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateGeneralName()

IGeneralName iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateGeneralName ( )

Create general name wrapper without parameters.

Returns
created general name wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateGeneralNames()

IGeneralNames iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateGeneralNames ( IAsn1Encodable  encodable )

Cast ASN1 Encodable wrapper to general names wrapper.

Parameters
encodable ASN1 Encodable wrapper to be cast
Returns
casted general names wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateGeneralSecurityException() [1/3]

AbstractGeneralSecurityException iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateGeneralSecurityException ( )

Create general security exception wrapper without parameters.

Returns
created general security exception wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateGeneralSecurityException() [2/3]

AbstractGeneralSecurityException iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateGeneralSecurityException ( string  exceptionMessage )

Create general security exception wrapper from System.string exception message.

Parameters
exceptionMessage

System.string exception message to create general security exception wrapper from

Returns
created general security exception wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateGeneralSecurityException() [3/3]

AbstractGeneralSecurityException iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateGeneralSecurityException ( string  exceptionMessage,
Exception  exception 
)

Create general security exception wrapper from System.string exception message and System.Exception exception.

Parameters
exceptionMessage

System.string exception message to create general security exception wrapper from

Parameters
exception

System.Exception exception to create general security exception wrapper from

Returns
created general security exception wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateIDigest()

IDigest iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateIDigest ( string  hashAlgorithm )

Create digest wrapper from System.string hash algorithm.

Parameters
hashAlgorithm

System.string hash algorithm to create digest wrapper from

Returns
created digest wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateISigner()

ISigner iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateISigner ( )

Create signer wrapper without parameters.

Returns
created signer wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateIssuerAndSerialNumber()

IIssuerAndSerialNumber iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateIssuerAndSerialNumber ( IX500Name  issuer,
IBigInteger  value 
)

Create issuer and serial number wrapper from X500 Name wrapper and iText.Commons.Bouncycastle.Math.IBigInteger.

Parameters
issuer X500 Name wrapper to create issuer and serial number wrapper from
value

iText.Commons.Bouncycastle.Math.IBigInteger to create issuer and serial number wrapper from

Returns
created issuer and serial number wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateIssuingDistributionPoint() [1/2]

IIssuingDistributionPoint iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateIssuingDistributionPoint ( IDistributionPointName  distributionPoint,
bool  onlyContainsUserCerts,
bool  onlyContainsCACerts,
IReasonFlags  onlySomeReasons,
bool  indirectCRL,
bool  onlyContainsAttributeCerts 
)

Create Issuing Distribution Point wrapper with specified values.

Parameters
distributionPoint one of names from the corresponding distributionPoint from the cRLDistributionPoints extension of every certificate that is within the scope of this CRL
onlyContainsUserCerts true if the scope of the CRL only includes end entity public key certificates
onlyContainsCACerts true if the scope of the CRL only includes CA certificates
onlySomeReasons reason codes associated with a distribution point
indirectCRL true if CRL includes certificates issued by authorities other than the CRL issuer, false if the scope of the CRL only includes certificates issued by the CRL issuer
onlyContainsAttributeCerts true if the scope of the CRL only includes attribute certificates
Returns
created Issuing Distribution Point wrapper.

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateIssuingDistributionPoint() [2/2]

IIssuingDistributionPoint iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateIssuingDistributionPoint ( Object  point )

Create Issuing Distribution Point wrapper from the object.

Parameters
point System.Object to create Issuing Distribution Point wrapper from
Returns
created Issuing Distribution Point wrapper.

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastle.BouncyCastleFactory.

◆ CreateJcaX509v3CertificateBuilder()

IX509V3CertificateGenerator iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateJcaX509v3CertificateBuilder ( IX509Certificate  signingCert,
IBigInteger  certSerialNumber,
DateTime  startDate,
DateTime  endDate,
IX500Name  subjectDnName,
IPublicKey  publicKey 
)

Create Jca X509 Version 3 certificate builder wrapper from iText.Commons.Bouncycastle.Cert.IX509Certificate , iText.Commons.Bouncycastle.Math.IBigInteger , start System.DateTime , end System.DateTime , X500 Name wrapper and iText.Commons.Bouncycastle.Crypto.IPublicKey.

Parameters
signingCert

iText.Commons.Bouncycastle.Cert.IX509Certificate to create Jca X509 Version 3 certificate builder wrapper from

Parameters
certSerialNumber

iText.Commons.Bouncycastle.Math.IBigInteger to create Jca X509 Version 3 certificate builder wrapper from

Parameters
startDate start System.DateTime to create Jca X509 Version 3 certificate builder wrapper from
endDate end System.DateTime to create Jca X509 Version 3 certificate builder wrapper from
subjectDnName X500 Name wrapper to create Jca X509 Version 3 certificate builder wrapper from
publicKey

iText.Commons.Bouncycastle.Crypto.IPublicKey to create Jca X509 Version 3 certificate builder wrapper from

Returns
created Jca X509 Version 3 certificate builder wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateKeyPurposeId()

IKeyPurposeID iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateKeyPurposeId ( )

Create key purpose id wrapper without parameters.

Returns
created key purpose id wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateKeyTransRecipientInfo()

IKeyTransRecipientInfo iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateKeyTransRecipientInfo ( IRecipientIdentifier  recipientIdentifier,
IAlgorithmIdentifier  algorithmIdentifier,
IAsn1OctetString  octetString 
)

Create key trans recipient info wrapper from recipient identifier wrapper, algorithm identifier wrapper and ASN1 Octet string wrapper.

Parameters
recipientIdentifier recipient identifier wrapper to create key trans recipient info wrapper from
algorithmIdentifier algorithm identifier wrapper to create key trans recipient info wrapper from
octetString ASN1 Octet string wrapper to create key trans recipient info wrapper from
Returns
created key trans recipient info wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateKeyUsage() [1/2]

IKeyUsage iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateKeyUsage ( )

Create key usage wrapper without parameters.

Returns
created key usage wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateKeyUsage() [2/2]

IKeyUsage iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateKeyUsage ( int  i )

Create key usage wrapper from int value.

Parameters
i

int value to create key usage wrapper from

Returns
created key usage wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateNullASN1Set()

IAsn1Set iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateNullASN1Set ( )

Create ASN1 Set wrapper which will store null.

Returns
ASN1 Set wrapper with null value

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateNullCrl()

◆ CreateNullOriginatorInfo()

IOriginatorInfo iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateNullOriginatorInfo ( )

Create originator info wrapper with null value.

Returns
created originator info wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateOCSPObjectIdentifiers()

IOcspObjectIdentifiers iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOCSPObjectIdentifiers ( )

Create OCSP Object identifiers wrapper without parameters.

Returns
created OCSP Object identifiers wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateOCSPReq() [1/2]

IOcspRequest iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOCSPReq ( byte[]  requestBytes )

Create OCSP Req wrapper from byte[].

Parameters
requestBytes

byte[] to create OCSP Req wrapper from

Returns
created OCSP Req wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateOCSPReq() [2/2]

IOcspRequest iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOCSPReq ( ICertID  certId,
byte[]  documentId 
)

Create OCSP Req wrapper from certificate ID wrapper and byte[] document id.

Parameters
certId certificate ID wrapper to create OCSP Req wrapper from
documentId

byte[] document id to create OCSP Req wrapper from

Returns
created OCSP Req wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateOCSPReqBuilder()

IOcspReqGenerator iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOCSPReqBuilder ( )

Create OCSP Req builder wrapper without parameters.

Returns
created OCSP Req builder wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateOCSPResponse() [1/4]

IOcspResponse iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOCSPResponse ( )

Create OCSP Resp wrapper without parameters.

Returns
created OCSP Resp wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateOCSPResponse() [2/4]

IOcspResponse iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOCSPResponse ( byte[]  bytes )

Create OCSP Resp wrapper from byte[] value.

Parameters
bytes

byte[] value to create OCSP Resp wrapper from

Returns
created OCSP Resp wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateOCSPResponse() [3/4]

IOcspResponse iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOCSPResponse ( int  respStatus,
Object  ocspRespObject 
)

Create OCSP Response wrapper from int value and System.object

Parameters
respStatus

int value to create OCSP Response wrapper from

Parameters
ocspRespObject

System.object to create OCSP Response wrapper from

Returns
created OCSP Response wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastle.BouncyCastleFactory.

◆ CreateOCSPResponse() [4/4]

IOcspResponse iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOCSPResponse ( IOcspResponseStatus  respStatus,
IResponseBytes  responseBytes 
)

Create OCSP Response wrapper from OCSP Response status wrapper and response bytes wrapper.

Parameters
respStatus OCSP Response status wrapper to create OCSP Response wrapper from
responseBytes response bytes wrapper to create OCSP Response wrapper from
Returns
created OCSP Response wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateOCSPResponseStatus() [1/2]

IOcspResponseStatus iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOCSPResponseStatus ( )

Create OCSP Response status wrapper without parameters.

Returns
created OCSP Response status wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateOCSPResponseStatus() [2/2]

IOcspResponseStatus iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOCSPResponseStatus ( int  status )

Create OCSP Response status wrapper from int value.

Parameters
status

int value to create OCSP Response status wrapper from

Returns
created OCSP Response status wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateOtherHashAlgAndValue()

IOtherHashAlgAndValue iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateOtherHashAlgAndValue ( IAlgorithmIdentifier  algorithmIdentifier,
IAsn1OctetString  octetString 
)

Create other hash alg and value wrapper from algorithm identifier wrapper and ASN1 Octet string wrapper.

Parameters
algorithmIdentifier algorithm identifier wrapper to create other hash alg and value wrapper from
octetString ASN1 Octet string wrapper to create other hash alg and value wrapper from
Returns
created other hash alg and value wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreatePEMParser()

IPemReader iText.Commons.Bouncycastle.IBouncyCastleFactory.CreatePEMParser ( TextReader  reader,
char[]  password 
)

Create PEM Parser wrapper from System.IO.TextReader.

Parameters
reader

System.IO.TextReader to create PEM Parser wrapper from

Parameters
password

byte[] password to read pem file

Returns
created PEM Parser wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreatePKCSObjectIdentifiers()

IPkcsObjectIdentifiers iText.Commons.Bouncycastle.IBouncyCastleFactory.CreatePKCSObjectIdentifiers ( )

Create PKCS Object identifiers wrapper without parameters.

Returns
created PKCS Object identifiers

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateReasonFlags()

IReasonFlags iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateReasonFlags ( int  reasons )

Creates the wrapper for ReasonFlags.

Parameters
reasons the bitwise OR of the Key Reason flags giving the allowed uses for the key
Returns
created ReasonFlags wrapper.

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateRecipientIdentifier()

IRecipientIdentifier iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateRecipientIdentifier ( IIssuerAndSerialNumber  issuerAndSerialNumber )

Create recipient identifier wrapper from issuer and serial number wrapper.

Parameters
issuerAndSerialNumber issuer and serial number wrapper to create recipient identifier wrapper from
Returns
created recipient identifier wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateRecipientInfo()

IRecipientInfo iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateRecipientInfo ( IKeyTransRecipientInfo  keyTransRecipientInfo )

Create recipient info wrapper from key trans recipient info wrapper.

Parameters
keyTransRecipientInfo key trans recipient info wrapper to create recipient info wrapper from
Returns
created recipient info wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateRespID()

IRespID iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateRespID ( IX500Name  x500Name )

Create resp ID wrapper from X500 Name wrapper.

Parameters
x500Name X500 Name wrapper to create resp ID wrapper from
Returns
created resp ID wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateResponseBytes()

IResponseBytes iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateResponseBytes ( IDerObjectIdentifier  asn1ObjectIdentifier,
IDerOctetString  derOctetString 
)

Create response bytes wrapper from ASN1 Object identifier wrapper and DER Octet string wrapper.

Parameters
asn1ObjectIdentifier ASN1 Object identifier wrapper to create response bytes wrapper from
derOctetString DER Octet string wrapper to create response bytes wrapper from
Returns
created response bytes wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateRevokedStatus() [1/2]

IRevokedCertStatus iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateRevokedStatus ( DateTime  date,
int  i 
)

Create revoked status wrapper from System.DateTime and int value.

Parameters
date

System.DateTime to create revoked status wrapper from

Parameters
i

int value to create revoked status wrapper from

Returns
created revoked status wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateRevokedStatus() [2/2]

IRevokedCertStatus iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateRevokedStatus ( ICertStatus  certificateStatus )

Create revoked status wrapper from certificate status wrapper.

Parameters
certificateStatus certificate status wrapper to create revoked status wrapper from
Returns
created revoked status wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateRsa2048KeyPairGenerator()

IRsaKeyPairGenerator iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateRsa2048KeyPairGenerator ( )

Create Rsa 2048 key pair generator wrapper without parameters.

Returns
created Rsa 2048 key pair generator wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateRSASSAPSSParams()

IRsassaPssParameters iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateRSASSAPSSParams ( IAsn1Encodable  encodable )

Create a RSASSA-PSS params wrapper from an ASN1 Encodable wrapper.

Parameters
encodable ASN1 Encodable wrapper to create RSASSA-PSS params wrapper from
Returns
created RSASSA-PSS params wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateRSASSAPSSParamsWithMGF1()

IRsassaPssParameters iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateRSASSAPSSParamsWithMGF1 ( IDerObjectIdentifier  digestAlgoOid,
int  saltLen,
int  trailerField 
)

Create a RSASSA-PSS params wrapper from a digest algorithm OID, a salt length and a trailer field length. The mask generation function will be set to MGF1, and the same digest algorithm will be used to populate the MGF parameters.

Parameters
digestAlgoOid identifier of the digest algorithm to be used both in the MGF and in the signature
saltLen salt length value
trailerField trailer field value
Returns
IRsassaPssParameters object initialised with the parameters supplied

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateSignaturePolicyId() [1/2]

ISignaturePolicyId iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateSignaturePolicyId ( IDerObjectIdentifier  objectIdentifier,
IOtherHashAlgAndValue  algAndValue 
)

Create signature policy id wrapper from ASN1 Object identifier wrapper and other hash alg and value wrapper.

Parameters
objectIdentifier ASN1 Object identifier wrapper to create signature policy id wrapper from
algAndValue other hash alg and value wrapper to create signature policy id wrapper from
Returns
created signature policy id wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateSignaturePolicyId() [2/2]

ISignaturePolicyId iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateSignaturePolicyId ( IDerObjectIdentifier  objectIdentifier,
IOtherHashAlgAndValue  algAndValue,
params ISigPolicyQualifierInfo[]  policyQualifiers 
)

Create signature policy id wrapper from ASN1 Object identifier wrapper, other hash alg and value wrapper and sig policy qualifier info wrappers.

Parameters
objectIdentifier ASN1 Object identifier wrapper to create signature policy id wrapper from
algAndValue other hash alg and value wrapper to create signature policy id wrapper from
policyQualifiers sig policy qualifier info wrappers to create signature policy id wrapper from
Returns
created signature policy id wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateSignaturePolicyIdentifier()

ISignaturePolicyIdentifier iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateSignaturePolicyIdentifier ( ISignaturePolicyId  policyId )

Create signature policy identifier wrapper from signature policy id wrapper.

Parameters
policyId signature policy id wrapper to create signature policy identifier wrapper from
Returns
created signature policy identifier wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateSigningCertificate()

ISigningCertificate iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateSigningCertificate ( IAsn1Sequence  sequence )

Create signing certificate wrapper from ASN1 Sequence wrapper.

Parameters
sequence ASN1 Sequence wrapper to create signing certificate wrapper from
Returns
created signing certificate wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateSigningCertificateV2()

ISigningCertificateV2 iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateSigningCertificateV2 ( IAsn1Sequence  sequence )

Create signing certificate version 2 wrapper from ASN1 Sequence wrapper.

Parameters
sequence ASN1 Sequence wrapper to create signing certificate version 2 wrapper from
Returns
created signing certificate version 2 wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateSigPolicyQualifierInfo()

ISigPolicyQualifierInfo iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateSigPolicyQualifierInfo ( IDerObjectIdentifier  objectIdentifier,
IDerIA5String string 
)

Create sig policy qualifier info wrapper from ASN1 Object identifier wrapper and DERIA5 String wrapper.

Parameters
objectIdentifier ASN1 Object identifier wrapper to create sig policy qualifier info wrapper from
string DERIA5 String wrapper to create sig policy qualifier info wrapper from
Returns
created sig policy qualifier info wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateSingleResp()

ISingleResponse iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateSingleResp ( IBasicOcspResponse  basicResp )

Create single resp wrapper from basic OCSP Response wrapper.

Parameters
basicResp basic OCSP Response wrapper to create single resp wrapper from
Returns
created single resp wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateSubjectKeyIdentifier()

ISubjectKeyIdentifier iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateSubjectKeyIdentifier ( ISubjectPublicKeyInfo  subjectPublicKeyInfo )

Create subject key identifier from subject public key info wrapper.

Parameters
subjectPublicKeyInfo subject public key info wrapper to create subject key identifier from
Returns
created subject key identifier

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateSubjectPublicKeyInfo()

ISubjectPublicKeyInfo iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateSubjectPublicKeyInfo ( IPublicKey  publicKey )

Create subject public key info wrapper from public key wrapper

Parameters
publicKey

iText.Commons.Bouncycastle.Crypto.IPublicKey to create subject public ket info wrapper from

Returns
created subject public ket info wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateTBSCertificate() [1/2]

ITbsCertificateStructure iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateTBSCertificate ( byte[]  bytes )

Create TBS Certificate wrapper from ASN1 Encoded data.

Parameters
bytes encoded TBS Certificate
Returns
created TBS Certificate wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateTBSCertificate() [2/2]

ITbsCertificateStructure iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateTBSCertificate ( IAsn1Encodable  encodable )

Create TBS Certificate wrapper from ASN1 Encodable wrapper.

Parameters
encodable ASN1 Encodable wrapper to create TBS Certificate wrapper from
Returns
created TBS Certificate wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateTimeStampRequest()

ITimeStampRequest iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateTimeStampRequest ( byte[]  bytes )

Create timestamp request wrapper from byte[] value.

Parameters
bytes

byte[] value to create timestamp request wrapper from

Returns
created timestamp request wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateTimeStampRequestGenerator()

ITimeStampRequestGenerator iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateTimeStampRequestGenerator ( )

Create timestamp request generator wrapper without parameters.

Returns
created timestamp request generator wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateTimeStampResponse()

ITimeStampResponse iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateTimeStampResponse ( byte[]  respBytes )

Create timestamp response wrapper from byte[] value.

Parameters
respBytes

byte[] value to create timestamp response wrapper from

Returns
created timestamp response wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateTimeStampResponseGenerator()

ITimeStampResponseGenerator iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateTimeStampResponseGenerator ( ITimeStampTokenGenerator  tokenGenerator,
IList  algorithms 
)

Create timestamp response generator wrapper from timestamp token generator wrapper and System.Collections.IList of algorithms.

Parameters
tokenGenerator timestamp token generator wrapper to create timestamp response generator wrapper from
algorithms

System.Collections.IList of algorithms to create timestamp response generator wrapper from

Returns
created timestamp response generator wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateTimeStampToken()

ITimeStampToken iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateTimeStampToken ( IContentInfo  contentInfo )

Create timestamp token wrapper from content info wrapper.

Parameters
contentInfo content info wrapper to create timestamp token wrapper from
Returns
created timestamp token wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateTimeStampTokenGenerator()

ITimeStampTokenGenerator iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateTimeStampTokenGenerator ( IPrivateKey  pk,
IX509Certificate  cert,
string  allowedDigest,
string  policyOid 
)

Create timestamp response generator wrapper from private key wrapper, X509 Certificate wrapper, System.string allowed digest and System.string policy oid.

Parameters
pk private key wrapper to create timestamp response generator wrapper from
cert X509 Certificate wrapper to create timestamp response generator wrapper from
allowedDigest

System.string allowed digest to create timestamp response generator wrapper from

Parameters
policyOid

System.string policy oid to create timestamp response generator wrapper from

Returns
created timestamp response generator wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateTSTInfo() [1/2]

ITstInfo iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateTSTInfo ( IAsn1Object  contentInfo )

Create TST Info wrapper from content info wrapper.

Parameters
contentInfo primitive wrapper to create TST Info wrapper from
Returns
created TST Info wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateTSTInfo() [2/2]

ITstInfo iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateTSTInfo ( IContentInfo  contentInfo )

Create TST Info wrapper from content info wrapper.

Parameters
contentInfo content info wrapper to create TST Info wrapper from
Returns
created TST Info wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateUnknownStatus()

IUnknownCertStatus iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateUnknownStatus ( )

Create unknown status wrapper without parameters.

Returns
created unknown status wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateX500Name() [1/3]

IX500Name iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateX500Name ( IAsn1Sequence  s )

Create X500 Name wrapper from IAsn1Sequence.

Parameters
s

IAsn1Sequence to create X500 Name wrapper from

Returns
created X500 Name wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateX500Name() [2/3]

IX500Name iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateX500Name ( IX509Certificate  certificate )

◆ CreateX500Name() [3/3]

IX500Name iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateX500Name ( String  s )

Create X500 Name wrapper from System.String.

Parameters
s

System.String to create X500 Name wrapper from

Returns
created X500 Name wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastle.BouncyCastleFactory.

◆ CreateX500NameInstance()

IX500Name iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateX500NameInstance ( IAsn1Encodable  issuer )

Create X500 Name wrapper from ASN1 Encodable wrapper using getInstance call.

Parameters
issuer ASN1 Encodable wrapper to create X500 Name wrapper from
Returns
created X500 Name wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateX509Certificate() [1/2]

IX509Certificate iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateX509Certificate ( Object  element )

Cast System.Object element to iText.Commons.Bouncycastle.Cert.IX509Certificate.

Parameters
element

System.Object to be cast

Returns
casted iText.Commons.Bouncycastle.Cert.IX509Certificate

◆ CreateX509Certificate() [2/2]

IX509Certificate iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateX509Certificate ( Stream  s )

Create X509 Certificate wrapper from System.IO.Stream.

Parameters
s

System.IO.Stream to create X509 Certificate wrapper from

Returns
created X509 Certificate wrapper

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateX509CertificateParser()

IX509CertificateParser iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateX509CertificateParser ( )

Create X509 Certificate parser wrapper without parameters.

Returns
created X509 Certificate parser wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateX509Crl()

IX509Crl iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateX509Crl ( Stream  input )

Create X509 Crl wrapper from System.IO.Stream.

Parameters
input

System.IO.Stream to create X509 Crl wrapper from

Returns
created X509 Crl wrapper

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateX509Crls()

ICollection<IX509Crl> iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateX509Crls ( Stream  input )

Create collection of the X509 Crl wrappers from System.IO.Stream.

Parameters
input

System.IO.Stream to create X509 Crl wrapper from

Returns
created collection of the X509 Crl wrappers

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ CreateX509v2CRLBuilder()

IX509V2CrlGenerator iText.Commons.Bouncycastle.IBouncyCastleFactory.CreateX509v2CRLBuilder ( IX500Name  x500Name,
DateTime  thisUpdate 
)

Create X509 Version 2 CRL Builder wrapper from X500 Name wrapper and System.DateTime.

Parameters
x500Name X500 Name wrapper to create X509 Version 2 CRL Builder wrapper from
thisUpdate

System.DateTime to create X509 Version 2 CRL Builder wrapper from

Returns
created X509 Version 2 CRL Builder wrapper

Implemented in iText.Bouncycastleconnector.BouncyCastleDefaultFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastlefips.BouncyCastleFipsFactory.

◆ GenerateDecryptedKeyWithAES256NoPad()

byte [] iText.Commons.Bouncycastle.IBouncyCastleFactory.GenerateDecryptedKeyWithAES256NoPad ( byte[]  key,
byte[]  kek 
)

Generates decrypted key based on AES256 without padding unwrapping algorithm.

Parameters
key key to be decrypted
kek key encryption key to be used
Returns
decrypted key.

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ GenerateEncryptedKeyWithAES256NoPad()

byte [] iText.Commons.Bouncycastle.IBouncyCastleFactory.GenerateEncryptedKeyWithAES256NoPad ( byte[]  key,
byte[]  kek 
)

Generates encrypted key based on AES256 without padding wrapping algorithm.

Parameters
key key to be encrypted
kek key encryption key to be used
Returns
encrypted key.

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ GenerateHKDF()

byte [] iText.Commons.Bouncycastle.IBouncyCastleFactory.GenerateHKDF ( byte[]  inputKey,
byte[]  salt,
byte[]  info 
)

Generates byte array based on extract-and-expand key derivation function, using provided parameters.

Parameters
inputKey byte[] input key material
salt byte[] salt
info byte[] info
Returns
byte[] key derivation function result.

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ GenerateHMACSHA256Token()

byte [] iText.Commons.Bouncycastle.IBouncyCastleFactory.GenerateHMACSHA256Token ( byte[]  key,
byte[]  data 
)

Generates byte array based MAC token according to HMACSHA256 algorithm.

Parameters
key MAC key
data data to be encrypted
Returns
byte array based MAC token.

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ GetAlgorithmName()

String iText.Commons.Bouncycastle.IBouncyCastleFactory.GetAlgorithmName ( String  oid )

Get signing algorithm name from its oid.

Parameters
oid oid of the algorithm
Returns
algorithm name

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ GetAlgorithmOid()

String iText.Commons.Bouncycastle.IBouncyCastleFactory.GetAlgorithmOid ( String  name )

Get signing algorithm oid from its name.

Parameters
name name of the algorithm
Returns
algorithm oid

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ GetBouncyCastleFactoryTestUtil()

◆ GetBouncyCastleUtil()

IBouncyCastleUtil iText.Commons.Bouncycastle.IBouncyCastleFactory.GetBouncyCastleUtil ( )

Get Bouncy-Castle Util instance implementation related to this IBouncyCastleFactory

Returns
IBouncyCastleUtil instance implementation

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ GetDigestAlgorithmOid()

String iText.Commons.Bouncycastle.IBouncyCastleFactory.GetDigestAlgorithmOid ( String  name )

Get hash algorithm oid from its name.

Parameters
name name of the algorithm
Returns
algorithm oid

Implemented in iText.Bouncycastle.BouncyCastleFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ GetProviderName()

String iText.Commons.Bouncycastle.IBouncyCastleFactory.GetProviderName ( )

Get System.String which represents providers name for this factory.

Returns

System.String which represents providers name

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ GetSecureRandom()

RNGCryptoServiceProvider iText.Commons.Bouncycastle.IBouncyCastleFactory.GetSecureRandom ( )

Get SecureRandom implementation from the factory.

Returns
SecureRandom implementation

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ IsEncryptionFeatureSupported()

void iText.Commons.Bouncycastle.IBouncyCastleFactory.IsEncryptionFeatureSupported ( int  encryptionType,
bool  withCertificate 
)

Checks whether an algorithm is supported for encryption by the chosen Bouncy Castle implementation, throws an exception when not supported.

Parameters
encryptionType the type of encryption STANDARD_ENCRYPTION_40 = 2 STANDARD_ENCRYPTION_128 = 3 AES_128 = 4 AES_256 = 5
withCertificate true when used with a certificate, false otherwise


Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ IsInApprovedOnlyMode()

bool iText.Commons.Bouncycastle.IBouncyCastleFactory.IsInApprovedOnlyMode ( )

Check if this bouncy-castle corresponding to this factory is in approved mode.

Returns

true if approved mode is enabled, false otherwise

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ IsNull()

bool iText.Commons.Bouncycastle.IBouncyCastleFactory.IsNull ( IAsn1Encodable  encodable )

Check if provided encodable wrapper wraps null.

Parameters
encodable encodable wrapper to be checked
Returns
true if provided encodable wrapper wraps null, false otherwise

Implemented in iText.Bouncycastlefips.BouncyCastleFipsFactory, iText.Bouncycastle.BouncyCastleFactory, and iText.Bouncycastleconnector.BouncyCastleDefaultFactory.

◆ IsNullExtension()

bool iText.Commons.Bouncycastle.IBouncyCastleFactory.IsNullExtension ( IX509Extension  extNonce )

Checks if provided extension wrapper wraps null.

Parameters
extNonce extension wrapper to check
Returns

true if provided extension wrapper wraps null , false otherwise

Implemented in iText.Bouncycastleconnector.BouncyCastleDefaultFactory, iText.Bouncycastlefips.BouncyCastleFipsFactory, and iText.Bouncycastle.BouncyCastleFactory.