iText 8.0.5 API
iText.Bouncycastle.BouncyCastleFactory Class Reference

This class implements iText.Commons.Bouncycastle.IBouncyCastleFactory and creates bouncy-castle classes instances. More...

Inheritance diagram for iText.Bouncycastle.BouncyCastleFactory:
iText.Commons.Bouncycastle.IBouncyCastleFactory

Public Member Functions

  BouncyCastleFactory ()
  Creates iText.Commons.Bouncycastle.IBouncyCastleFactory for bouncy-castle FIPS module. More...
 
virtual String  GetAlgorithmOid (String name)
  Get signing algorithm oid from its name. More...
 
virtual String  GetDigestAlgorithmOid (String name)
  Get hash algorithm oid from its name. More...
 
virtual String  GetAlgorithmName (String oid)
  Get signing algorithm name from its oid. More...
 
virtual IDerObjectIdentifier  CreateASN1ObjectIdentifier (IAsn1Encodable encodable)
  Cast ASN1 encodable wrapper to the ASN1 object identifier wrapper. More...
 
virtual IDerObjectIdentifier  CreateASN1ObjectIdentifier (String str)
  Create ASN1 Object identifier wrapper from System.String. More...
 
virtual IDerObjectIdentifier  CreateASN1ObjectIdentifierInstance (Object @object)
  Create ASN1 Object identifier wrapper from System.Object using getInstance method call. More...
 
virtual IAsn1InputStream  CreateASN1InputStream (Stream stream)
  Create ASN1 Input stream wrapper from System.IO.Stream. More...
 
virtual IAsn1InputStream  CreateASN1InputStream (byte[] bytes)
  Create ASN1 Input stream wrapper from byte[]. More...
 
virtual IAsn1OctetString  CreateASN1OctetString (IAsn1Object primitive)
  Create ASN1 Octet string wrapper from ASN1 Primitive wrapper. More...
 
virtual IAsn1OctetString  CreateASN1OctetString (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to the ASN1 Octet string wrapper. More...
 
virtual IAsn1OctetString  CreateASN1OctetString (IAsn1TaggedObject taggedObject, bool b)
  Create ASN1 Octet string wrapper from ASN1 Tagged object wrapper and boolean parameter. More...
 
virtual IAsn1OctetString  CreateASN1OctetString (byte[] bytes)
  Create ASN1 Octet string wrapper from byte[]. More...
 
virtual IAsn1Sequence  CreateASN1Sequence (Object @object)
  Cast System.Object to ASN1 Sequence wrapper. More...
 
virtual IAsn1Sequence  CreateASN1Sequence (IAsn1Encodable encodable)
  Cast ASN1 encodable wrapper to the ASN1 Sequence wrapper. More...
 
virtual IAsn1Sequence  CreateASN1Sequence (byte[] array)
  Create ASN1 Sequence wrapper from byte[]. More...
 
virtual IAsn1Sequence  CreateASN1SequenceInstance (Object @object)
  Create ASN1 Sequence wrapper from System.Object using getInstance method call. More...
 
virtual IDerSequence  CreateDERSequence (IAsn1EncodableVector encodableVector)
  Create DER Sequence wrapper from ASN1 Encodable vector wrapper. More...
 
virtual IDerSequence  CreateDERSequence (IAsn1Object primitive)
  Create DER Sequence wrapper from ASN1 Primitive wrapper. More...
 
virtual IAsn1TaggedObject  CreateASN1TaggedObject (IAsn1Encodable encodable)
  Create ASN1 Tagged object wrapper from ASN1 Encodable wrapper. More...
 
virtual IDerInteger  CreateASN1Integer (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 Integer wrapper. More...
 
virtual IDerInteger  CreateASN1Integer (int i)
  Create ASN1 Integer wrapper from int. More...
 
virtual IDerInteger  CreateASN1Integer (IBigInteger i)
  Create ASN1 Integer wrapper from iText.Commons.Bouncycastle.Math.IBigInteger. More...
 
virtual IAsn1Set  CreateASN1Set (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 Set wrapper. More...
 
virtual IAsn1Set  CreateASN1Set (Object encodable)
  Create ASN1 Set wrapper from System.Object. More...
 
virtual IAsn1Set  CreateASN1Set (IAsn1TaggedObject taggedObject, bool b)
  Create ASN1 Set wrapper from ASN1 Tagged object wrapper and boolean parameter. More...
 
virtual IAsn1Set  CreateNullASN1Set ()
  Create ASN1 Set wrapper which will store null. More...
 
virtual IDerOutputStream  CreateASN1OutputStream (Stream stream)
  Create ASN1 Output stream wrapper from System.IO.Stream. More...
 
virtual IDerOutputStream  CreateASN1OutputStream (Stream outputStream, String asn1Encoding)
  Create ASN1 Output stream wrapper from System.IO.Stream and ASN1 Encoding. More...
 
virtual IDerOctetString  CreateDEROctetString (byte[] bytes)
  Create DER Octet string wrapper from byte[]. More...
 
virtual IDerOctetString  CreateDEROctetString (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to DER Octet string wrapper. More...
 
virtual IAsn1EncodableVector  CreateASN1EncodableVector ()
  Create ASN1 Encodable wrapper without parameters. More...
 
virtual IDerNull  CreateDERNull ()
  Create DER Null wrapper without parameters. More...
 
virtual IDerTaggedObject  CreateDERTaggedObject (int i, IAsn1Object primitive)
  Create DER Tagged object wrapper from int value and ASN1 Primitive wrapper. More...
 
virtual IDerTaggedObject  CreateDERTaggedObject (bool b, int i, IAsn1Object primitive)
  Create DER Tagged object wrapper from int value, boolean value and ASN1 Primitive wrapper. More...
 
virtual IDerSet  CreateDERSet (IAsn1EncodableVector encodableVector)
  Create DER Set wrapper from ASN1 Encodable vector wrapper. More...
 
virtual IDerSet  CreateDERSet (IAsn1Object primitive)
  Create DER Set wrapper from ASN1 Primitive wrapper. More...
 
virtual IDerSet  CreateDERSet (ISignaturePolicyIdentifier identifier)
  Create DER Set wrapper from signature policy identifier wrapper. More...
 
virtual IDerSet  CreateDERSet (IRecipientInfo recipientInfo)
  Create DER Set wrapper from recipient info wrapper. More...
 
virtual IDerEnumerated  CreateASN1Enumerated (int i)
  Create ASN1 Enumerated wrapper from int value. More...
 
virtual IDerEnumerated  CreateASN1Enumerated (IAsn1Encodable i)
  Create ASN1 Enumerated wrapper from IASN1Encodable value. More...
 
virtual IAsn1Encoding  CreateASN1Encoding ()
  Create ASN1 Encoding without parameters. More...
 
virtual IAttributeTable  CreateAttributeTable (IAsn1Set unat)
  Create attribute table wrapper from ASN1 Set wrapper. More...
 
virtual IPkcsObjectIdentifiers  CreatePKCSObjectIdentifiers ()
  Create PKCS Object identifiers wrapper without parameters. More...
 
virtual IAttribute  CreateAttribute (IDerObjectIdentifier attrType, IAsn1Set attrValues)
  Create attribute wrapper from ASN1 Object identifier wrapper and ASN1 Set wrapper. More...
 
virtual IContentInfo  CreateContentInfo (IAsn1Sequence sequence)
  Create content info wrapper from ASN1 Sequence wrapper. More...
 
virtual IContentInfo  CreateContentInfo (IDerObjectIdentifier objectIdentifier, IAsn1Encodable encodable)
  Create content info wrapper from ASN1 Object identifier wrapper and ASN1 Encodable wrapper. More...
 
virtual ISigningCertificate  CreateSigningCertificate (IAsn1Sequence sequence)
  Create signing certificate wrapper from ASN1 Sequence wrapper. More...
 
virtual ISigningCertificateV2  CreateSigningCertificateV2 (IAsn1Sequence sequence)
  Create signing certificate version 2 wrapper from ASN1 Sequence wrapper. More...
 
virtual IBasicOcspResponse  CreateBasicOCSPResponse (IAsn1Object primitive)
  Create basic OCSP Response wrapper from ASN1 Primitive wrapper. More...
 
virtual IBasicOcspResponse  CreateBasicOCSPResponse (byte[] bytes)
  Create basic OCSP Response wrapper from bytes array. More...
 
IBasicOcspResponse  CreateBasicOCSPResponse (object response)
 
virtual IOcspObjectIdentifiers  CreateOCSPObjectIdentifiers ()
  Create OCSP Object identifiers wrapper without parameters. More...
 
virtual IAlgorithmIdentifier  CreateAlgorithmIdentifier (IDerObjectIdentifier algorithm)
  Create algorithm identifier wrapper from ASN1 Object identifier wrapper. More...
 
virtual IAlgorithmIdentifier  CreateAlgorithmIdentifier (IDerObjectIdentifier algorithm, IAsn1Encodable parameters)
  Create algorithm identifier wrapper from ASN1 Object identifier wrapper and ASN1 Encodable wrapper. More...
 
virtual IRsassaPssParameters  CreateRSASSAPSSParams (IAsn1Encodable encodable)
  Create a RSASSA-PSS params wrapper from an ASN1 Encodable wrapper. More...
 
virtual 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...
 
virtual String  GetProviderName ()
  Get System.String which represents providers name for this factory. More...
 
virtual ICertID  CreateCertificateID ()
  Create certificate ID wrapper without parameters. More...
 
IX509Extensions  CreateExtensions (IDictionary objectIdentifier)
  Create extensions wrapper from System.Collections.IDictionary. More...
 
virtual IX509Extensions  CreateExtensions ()
  Create extensions wrapper without parameters. More...
 
virtual IOcspReqGenerator  CreateOCSPReqBuilder ()
  Create OCSP Req builder wrapper without parameters. More...
 
virtual ISigPolicyQualifierInfo  CreateSigPolicyQualifierInfo (IDerObjectIdentifier objectIdentifier, IDerIA5String @string)
  Create sig policy qualifier info wrapper from ASN1 Object identifier wrapper and DERIA5 String wrapper. More...
 
virtual IDerStringBase  CreateASN1String (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 String wrapper. More...
 
virtual IAsn1Object  CreateASN1Primitive (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 Primitive wrapper. More...
 
IOcspResponse  CreateOCSPResponse (byte[] bytes)
  Create OCSP Resp wrapper from byte[] value. More...
 
virtual IOcspResponse  CreateOCSPResponse ()
  Create OCSP Resp wrapper without parameters. More...
 
virtual IOcspResponse  CreateOCSPResponse (IOcspResponseStatus respStatus, IResponseBytes responseBytes)
  Create OCSP Response wrapper from OCSP Response status wrapper and response bytes wrapper. More...
 
IOcspResponse  CreateOCSPResponse (int respStatus, Object response)
  Create OCSP Response wrapper from int value and System.object More...
 
virtual IResponseBytes  CreateResponseBytes (IDerObjectIdentifier asn1ObjectIdentifier, IDerOctetString derOctetString)
  Create response bytes wrapper from ASN1 Object identifier wrapper and DER Octet string wrapper. More...
 
virtual IOcspResponseStatus  CreateOCSPResponseStatus (int status)
  Create OCSP Response status wrapper from int value. More...
 
virtual IOcspResponseStatus  CreateOCSPResponseStatus ()
  Create OCSP Response status wrapper without parameters. More...
 
virtual ICertStatus  CreateCertificateStatus ()
  Create certificate status wrapper without parameters. More...
 
IRevokedCertStatus  CreateRevokedStatus (ICertStatus certificateStatus)
  Create revoked status wrapper from certificate status wrapper. More...
 
virtual IRevokedCertStatus  CreateRevokedStatus (DateTime date, int i)
  Create revoked status wrapper from System.DateTime and int value. More...
 
virtual IAsn1Object  CreateASN1Primitive (byte[] array)
  Create ASN1 Primitive wrapper from byte[] value. More...
 
virtual IDerIA5String  CreateDERIA5String (IAsn1TaggedObject taggedObject, bool b)
  Create DERIA5 String wrapper from ASN1 Tagged object wrapper and boolean value. More...
 
virtual IDerIA5String  CreateDERIA5String (String str)
  Create DERIA5 String wrapper from System.String value. More...
 
virtual ICrlDistPoint  CreateCRLDistPoint (Object @object)
  Create CRL Dist point wrapper from System.Object. More...
 
virtual 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...
 
virtual IDistributionPointName  CreateDistributionPointName ()
  Create distribution point name wrapper without parameters. More...
 
IDistributionPointName  CreateDistributionPointName (IGeneralNames generalNames)
  Create distribution point name wrapper by passing general names. More...
 
virtual IGeneralNames  CreateGeneralNames (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to general names wrapper. More...
 
virtual IGeneralName  CreateGeneralName ()
  Create general name wrapper without parameters. More...
 
virtual IOtherHashAlgAndValue  CreateOtherHashAlgAndValue (IAlgorithmIdentifier algorithmIdentifier, IAsn1OctetString octetString)
  Create other hash alg and value wrapper from algorithm identifier wrapper and ASN1 Octet string wrapper. More...
 
virtual ISignaturePolicyId  CreateSignaturePolicyId (IDerObjectIdentifier objectIdentifier, IOtherHashAlgAndValue algAndValue)
  Create signature policy id wrapper from ASN1 Object identifier wrapper and other hash alg and value wrapper. More...
 
virtual 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...
 
virtual ISignaturePolicyIdentifier  CreateSignaturePolicyIdentifier (ISignaturePolicyId policyId)
  Create signature policy identifier wrapper from signature policy id wrapper. More...
 
virtual 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...
 
virtual IRecipientInfo  CreateRecipientInfo (IKeyTransRecipientInfo keyTransRecipientInfo)
  Create recipient info wrapper from key trans recipient info wrapper. More...
 
virtual 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...
 
virtual ITbsCertificateStructure  CreateTBSCertificate (IAsn1Encodable encodable)
  Create TBS Certificate wrapper from ASN1 Encodable wrapper. More...
 
virtual ITbsCertificateStructure  CreateTBSCertificate (byte[] bytes)
  Create TBS Certificate wrapper from ASN1 Encoded data. More...
 
virtual IIssuerAndSerialNumber  CreateIssuerAndSerialNumber (IX500Name issuer, IBigInteger value)
  Create issuer and serial number wrapper from X500 Name wrapper and iText.Commons.Bouncycastle.Math.IBigInteger. More...
 
virtual IRecipientIdentifier  CreateRecipientIdentifier (IIssuerAndSerialNumber issuerAndSerialNumber)
  Create recipient identifier wrapper from issuer and serial number wrapper. More...
 
virtual 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...
 
virtual IOriginatorInfo  CreateNullOriginatorInfo ()
  Create originator info wrapper with null value. More...
 
virtual ICmsEnvelopedData  CreateCMSEnvelopedData (byte[] bytes)
  Create CMS enveloped data from byte[] value. More...
 
virtual ITimeStampRequestGenerator  CreateTimeStampRequestGenerator ()
  Create timestamp request generator wrapper without parameters. More...
 
virtual ITimeStampResponse  CreateTimeStampResponse (byte[] respBytes)
  Create timestamp response wrapper from byte[] value. More...
 
virtual AbstractOcspException  CreateAbstractOCSPException (Exception e)
  Create OCSP Exception wrapper from usual System.Exception. More...
 
virtual IUnknownCertStatus  CreateUnknownStatus ()
  Create unknown status wrapper without parameters. More...
 
virtual IAsn1Dump  CreateASN1Dump ()
  Create ASN1 Dump wrapper without parameters. More...
 
virtual IDerBitString  CreateASN1BitString (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 Bit string wrapper. More...
 
virtual IDerGeneralizedTime  CreateASN1GeneralizedTime (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 Generalized time wrapper. More...
 
virtual IDerGeneralizedTime  CreateASN1GeneralizedTime (DateTime date)
  Cast DateTime to ASN1 Generalized time wrapper. More...
 
virtual IDerUtcTime  CreateASN1UTCTime (IAsn1Encodable encodable)
  Cast ASN1 Encodable wrapper to ASN1 UTC Time wrapper. More...
 
virtual ITimeStampResponseGenerator  CreateTimeStampResponseGenerator (ITimeStampTokenGenerator tokenGenerator, IList algorithms)
  Create timestamp response generator wrapper from timestamp token generator wrapper and System.Collections.IList of algorithms. More...
 
virtual ITimeStampRequest  CreateTimeStampRequest (byte[] bytes)
  Create timestamp request wrapper from byte[] value. More...
 
ITimeStampTokenGenerator  CreateTimeStampTokenGenerator (IPrivateKey pk, IX509Certificate certificate, 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...
 
virtual IX500Name  CreateX500Name (IX509Certificate certificate)
  Create X500 Name wrapper from iText.Commons.Bouncycastle.Cert.IX509Certificate. More...
 
virtual IX500Name  CreateX500Name (String s)
  Create X500 Name wrapper from System.String. More...
 
virtual IRespID  CreateRespID (IX500Name x500Name)
  Create resp ID wrapper from X500 Name wrapper. More...
 
virtual IBasicOcspRespGenerator  CreateBasicOCSPRespBuilder (IRespID respID)
  Create basic OCSP Resp builder wrapper from resp ID wrapper. More...
 
virtual IOcspRequest  CreateOCSPReq (byte[] requestBytes)
  Create OCSP Req wrapper from byte[]. More...
 
virtual IX509V2CrlGenerator  CreateX509v2CRLBuilder (IX500Name x500Name, DateTime date)
  Create X509 Version 2 CRL Builder wrapper from X500 Name wrapper and System.DateTime. More...
 
virtual IX509V3CertificateGenerator  CreateJcaX509v3CertificateBuilder (IX509Certificate signingCert, IBigInteger number, 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...
 
virtual IBasicConstraints  CreateBasicConstraints (bool b)
  Create basic constraints wrapper from boolean value. More...
 
virtual IBasicConstraints  CreateBasicConstraints (int pathLength)
  Create basic constraints wrapper from int value. More...
 
virtual IKeyUsage  CreateKeyUsage ()
  Create key usage wrapper without parameters. More...
 
virtual IKeyUsage  CreateKeyUsage (int i)
  Create key usage wrapper from int value. More...
 
virtual IKeyPurposeID  CreateKeyPurposeId ()
  Create key purpose id wrapper without parameters. More...
 
virtual IExtendedKeyUsage  CreateExtendedKeyUsage (IKeyPurposeID purposeId)
  Create extended key usage wrapper from key purpose id wrapper. More...
 
virtual IExtendedKeyUsage  CreateExtendedKeyUsage (IDerObjectIdentifier[] purposeId)
  Create extended key usage wrapper from an array of object identifier wrappers. More...
 
virtual ISubjectPublicKeyInfo  CreateSubjectPublicKeyInfo (IPublicKey publicKey)
  Create subject public key info wrapper from public key wrapper More...
 
virtual ICrlReason  CreateCRLReason ()
  Create CRL Reason wrapper without parameters. More...
 
virtual ITstInfo  CreateTSTInfo (IContentInfo contentInfoTsp)
  Create TST Info wrapper from content info wrapper. More...
 
virtual ISingleResponse  CreateSingleResp (IBasicOcspResponse basicResp)
  Create single resp wrapper from basic OCSP Response wrapper. More...
 
virtual IX509Certificate  CreateX509Certificate (object obj)
 
virtual 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...
 
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...
 
ITimeStampToken  CreateTimeStampToken (IContentInfo contentInfo)
  Create timestamp token wrapper from content info wrapper. More...
 
IRsaKeyPairGenerator  CreateRsa2048KeyPairGenerator ()
  Create Rsa 2048 key pair generator wrapper without parameters. 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...
 
bool  IsNullExtension (IX509Extension ext)
  Checks if provided extension wrapper wraps null. More...
 
bool  IsNull (IAsn1Encodable encodable)
 
IX509Extension  CreateExtension (bool b, IDerOctetString octetString)
  Create extension wrapper from bool value and DER Octet string wrapper. 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...
 
IPemReader  CreatePEMParser (TextReader reader, char[] password)
  Create PEM Parser wrapper from System.IO.TextReader. 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...
 
- Public Member Functions inherited from iText.Commons.Bouncycastle.IBouncyCastleFactory
IBasicOcspResponse  CreateBasicOCSPResponse (Object response)
  Create basic OCSP Resp wrapper from System.Object. More...
 
IX509Certificate  CreateX509Certificate (Object element)
  Cast System.Object element to iText.Commons.Bouncycastle.Cert.IX509Certificate. More...
 

Detailed Description

This class implements iText.Commons.Bouncycastle.IBouncyCastleFactory and creates bouncy-castle classes instances.

Constructor & Destructor Documentation

◆ BouncyCastleFactory()

iText.Bouncycastle.BouncyCastleFactory.BouncyCastleFactory ( )
inline

Creates iText.Commons.Bouncycastle.IBouncyCastleFactory for bouncy-castle FIPS module.

Member Function Documentation

◆ CreateAbstractOCSPException()

virtual AbstractOcspException iText.Bouncycastle.BouncyCastleFactory.CreateAbstractOCSPException ( Exception  e )
inlinevirtual

Create OCSP Exception wrapper from usual System.Exception.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateAlgorithmIdentifier() [1/2]

virtual IAlgorithmIdentifier iText.Bouncycastle.BouncyCastleFactory.CreateAlgorithmIdentifier ( IDerObjectIdentifier  algorithm )
inlinevirtual

Create algorithm identifier wrapper from ASN1 Object identifier wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateAlgorithmIdentifier() [2/2]

virtual IAlgorithmIdentifier iText.Bouncycastle.BouncyCastleFactory.CreateAlgorithmIdentifier ( IDerObjectIdentifier  algorithm,
IAsn1Encodable  parameters 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1BitString()

virtual IDerBitString iText.Bouncycastle.BouncyCastleFactory.CreateASN1BitString ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 Encodable wrapper to ASN1 Bit string wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Dump()

virtual IAsn1Dump iText.Bouncycastle.BouncyCastleFactory.CreateASN1Dump ( )
inlinevirtual

Create ASN1 Dump wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1EncodableVector()

virtual IAsn1EncodableVector iText.Bouncycastle.BouncyCastleFactory.CreateASN1EncodableVector ( )
inlinevirtual

Create ASN1 Encodable wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Encoding()

virtual IAsn1Encoding iText.Bouncycastle.BouncyCastleFactory.CreateASN1Encoding ( )
inlinevirtual

Create ASN1 Encoding without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Enumerated() [1/2]

virtual IDerEnumerated iText.Bouncycastle.BouncyCastleFactory.CreateASN1Enumerated ( IAsn1Encodable  i )
inlinevirtual

Create ASN1 Enumerated wrapper from IASN1Encodable value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Enumerated() [2/2]

virtual IDerEnumerated iText.Bouncycastle.BouncyCastleFactory.CreateASN1Enumerated ( int  i )
inlinevirtual

Create ASN1 Enumerated wrapper from int value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1GeneralizedTime() [1/2]

virtual IDerGeneralizedTime iText.Bouncycastle.BouncyCastleFactory.CreateASN1GeneralizedTime ( DateTime  date )
inlinevirtual

Cast DateTime to ASN1 Generalized time wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1GeneralizedTime() [2/2]

virtual IDerGeneralizedTime iText.Bouncycastle.BouncyCastleFactory.CreateASN1GeneralizedTime ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 Encodable wrapper to ASN1 Generalized time wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1InputStream() [1/2]

virtual IAsn1InputStream iText.Bouncycastle.BouncyCastleFactory.CreateASN1InputStream ( byte[]  bytes )
inlinevirtual

Create ASN1 Input stream wrapper from byte[].

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1InputStream() [2/2]

virtual IAsn1InputStream iText.Bouncycastle.BouncyCastleFactory.CreateASN1InputStream ( Stream  stream )
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Integer() [1/3]

virtual IDerInteger iText.Bouncycastle.BouncyCastleFactory.CreateASN1Integer ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 Encodable wrapper to ASN1 Integer wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Integer() [2/3]

virtual IDerInteger iText.Bouncycastle.BouncyCastleFactory.CreateASN1Integer ( IBigInteger  i )
inlinevirtual

◆ CreateASN1Integer() [3/3]

virtual IDerInteger iText.Bouncycastle.BouncyCastleFactory.CreateASN1Integer ( int  i )
inlinevirtual

Create ASN1 Integer wrapper from int.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1ObjectIdentifier() [1/2]

virtual IDerObjectIdentifier iText.Bouncycastle.BouncyCastleFactory.CreateASN1ObjectIdentifier ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 encodable wrapper to the ASN1 object identifier wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1ObjectIdentifier() [2/2]

virtual IDerObjectIdentifier iText.Bouncycastle.BouncyCastleFactory.CreateASN1ObjectIdentifier ( String  str )
inlinevirtual

Create ASN1 Object identifier wrapper from System.String.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1ObjectIdentifierInstance()

virtual IDerObjectIdentifier iText.Bouncycastle.BouncyCastleFactory.CreateASN1ObjectIdentifierInstance ( Object @  object )
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OctetString() [1/4]

virtual IAsn1OctetString iText.Bouncycastle.BouncyCastleFactory.CreateASN1OctetString ( byte[]  bytes )
inlinevirtual

Create ASN1 Octet string wrapper from byte[].

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OctetString() [2/4]

virtual IAsn1OctetString iText.Bouncycastle.BouncyCastleFactory.CreateASN1OctetString ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 Encodable wrapper to the ASN1 Octet string wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OctetString() [3/4]

virtual IAsn1OctetString iText.Bouncycastle.BouncyCastleFactory.CreateASN1OctetString ( IAsn1Object  primitive )
inlinevirtual

Create ASN1 Octet string wrapper from ASN1 Primitive wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OctetString() [4/4]

virtual IAsn1OctetString iText.Bouncycastle.BouncyCastleFactory.CreateASN1OctetString ( IAsn1TaggedObject  taggedObject,
bool  b 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OutputStream() [1/2]

virtual IDerOutputStream iText.Bouncycastle.BouncyCastleFactory.CreateASN1OutputStream ( Stream  outputStream,
String  asn1Encoding 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OutputStream() [2/2]

virtual IDerOutputStream iText.Bouncycastle.BouncyCastleFactory.CreateASN1OutputStream ( Stream  stream )
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Primitive() [1/2]

virtual IAsn1Object iText.Bouncycastle.BouncyCastleFactory.CreateASN1Primitive ( byte[]  array )
inlinevirtual

Create ASN1 Primitive wrapper from byte[] value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Primitive() [2/2]

virtual IAsn1Object iText.Bouncycastle.BouncyCastleFactory.CreateASN1Primitive ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 Encodable wrapper to ASN1 Primitive wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Sequence() [1/3]

virtual IAsn1Sequence iText.Bouncycastle.BouncyCastleFactory.CreateASN1Sequence ( byte[]  array )
inlinevirtual

Create ASN1 Sequence wrapper from byte[].

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Sequence() [2/3]

virtual IAsn1Sequence iText.Bouncycastle.BouncyCastleFactory.CreateASN1Sequence ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 encodable wrapper to the ASN1 Sequence wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Sequence() [3/3]

virtual IAsn1Sequence iText.Bouncycastle.BouncyCastleFactory.CreateASN1Sequence ( Object @  object )
inlinevirtual

Cast System.Object to ASN1 Sequence wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1SequenceInstance()

virtual IAsn1Sequence iText.Bouncycastle.BouncyCastleFactory.CreateASN1SequenceInstance ( Object @  object )
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Set() [1/3]

virtual IAsn1Set iText.Bouncycastle.BouncyCastleFactory.CreateASN1Set ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 Encodable wrapper to ASN1 Set wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Set() [2/3]

virtual IAsn1Set iText.Bouncycastle.BouncyCastleFactory.CreateASN1Set ( IAsn1TaggedObject  taggedObject,
bool  b 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Set() [3/3]

virtual IAsn1Set iText.Bouncycastle.BouncyCastleFactory.CreateASN1Set ( Object  encodable )
inlinevirtual

Create ASN1 Set wrapper from System.Object.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1String()

virtual IDerStringBase iText.Bouncycastle.BouncyCastleFactory.CreateASN1String ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 Encodable wrapper to ASN1 String wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1TaggedObject()

virtual IAsn1TaggedObject iText.Bouncycastle.BouncyCastleFactory.CreateASN1TaggedObject ( IAsn1Encodable  encodable )
inlinevirtual

Create ASN1 Tagged object wrapper from ASN1 Encodable wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1UTCTime()

virtual IDerUtcTime iText.Bouncycastle.BouncyCastleFactory.CreateASN1UTCTime ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 Encodable wrapper to ASN1 UTC Time wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateAttribute()

virtual IAttribute iText.Bouncycastle.BouncyCastleFactory.CreateAttribute ( IDerObjectIdentifier  attrType,
IAsn1Set  attrValues 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateAttributeTable()

virtual IAttributeTable iText.Bouncycastle.BouncyCastleFactory.CreateAttributeTable ( IAsn1Set  unat )
inlinevirtual

Create attribute table wrapper from ASN1 Set wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateAuthorityKeyIdentifier()

IAuthorityKeyIdentifier iText.Bouncycastle.BouncyCastleFactory.CreateAuthorityKeyIdentifier ( ISubjectPublicKeyInfo  issuerPublicKeyInfo )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicConstraints() [1/2]

virtual IBasicConstraints iText.Bouncycastle.BouncyCastleFactory.CreateBasicConstraints ( bool  b )
inlinevirtual

Create basic constraints wrapper from boolean value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicConstraints() [2/2]

virtual IBasicConstraints iText.Bouncycastle.BouncyCastleFactory.CreateBasicConstraints ( int  pathLength )
inlinevirtual

Create basic constraints wrapper from int value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicOCSPRespBuilder()

virtual IBasicOcspRespGenerator iText.Bouncycastle.BouncyCastleFactory.CreateBasicOCSPRespBuilder ( IRespID  respID )
inlinevirtual

Create basic OCSP Resp builder wrapper from resp ID wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicOCSPResponse() [1/3]

virtual IBasicOcspResponse iText.Bouncycastle.BouncyCastleFactory.CreateBasicOCSPResponse ( byte[]  bytes )
inlinevirtual

Create basic OCSP Response wrapper from bytes array.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicOCSPResponse() [2/3]

virtual IBasicOcspResponse iText.Bouncycastle.BouncyCastleFactory.CreateBasicOCSPResponse ( IAsn1Object  primitive )
inlinevirtual

Create basic OCSP Response wrapper from ASN1 Primitive wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicOCSPResponse() [3/3]

IBasicOcspResponse iText.Bouncycastle.BouncyCastleFactory.CreateBasicOCSPResponse ( object  response )
inline

◆ CreateBigInteger() [1/3]

IBigInteger iText.Bouncycastle.BouncyCastleFactory.CreateBigInteger ( )
inline

Create big integer wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBigInteger() [2/3]

IBigInteger iText.Bouncycastle.BouncyCastleFactory.CreateBigInteger ( int  i,
byte[]  array 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBigInteger() [3/3]

IBigInteger iText.Bouncycastle.BouncyCastleFactory.CreateBigInteger ( string  str )
inline

Create big integer wrapper from System.string value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCertificateID() [1/2]

virtual ICertID iText.Bouncycastle.BouncyCastleFactory.CreateCertificateID ( )
inlinevirtual

Create certificate ID wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCertificateID() [2/2]

ICertID iText.Bouncycastle.BouncyCastleFactory.CreateCertificateID ( string  hashAlgorithm,
IX509Certificate  issuerCert,
IBigInteger  serialNumber 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCertificateStatus()

virtual ICertStatus iText.Bouncycastle.BouncyCastleFactory.CreateCertificateStatus ( )
inlinevirtual

Create certificate status wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCipher()

ICipher iText.Bouncycastle.BouncyCastleFactory.CreateCipher ( bool  forEncryption,
byte[]  key,
byte[]  iv 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCipherBytes()

byte [] iText.Bouncycastle.BouncyCastleFactory.CreateCipherBytes ( IX509Certificate  x509Certificate,
byte[]  abyte0,
IAlgorithmIdentifier  algorithmidentifier 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCipherCbCnoPad() [1/2]

ICipherCBCnoPad iText.Bouncycastle.BouncyCastleFactory.CreateCipherCbCnoPad ( bool  forEncryption,
byte[]  key 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCipherCbCnoPad() [2/2]

ICipherCBCnoPad iText.Bouncycastle.BouncyCastleFactory.CreateCipherCbCnoPad ( bool  forEncryption,
byte[]  key,
byte[]  iv 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCMSEnvelopedData()

virtual ICmsEnvelopedData iText.Bouncycastle.BouncyCastleFactory.CreateCMSEnvelopedData ( byte[]  bytes )
inlinevirtual

Create CMS enveloped data from byte[] value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateContentInfo() [1/2]

virtual IContentInfo iText.Bouncycastle.BouncyCastleFactory.CreateContentInfo ( IAsn1Sequence  sequence )
inlinevirtual

Create content info wrapper from ASN1 Sequence wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateContentInfo() [2/2]

virtual IContentInfo iText.Bouncycastle.BouncyCastleFactory.CreateContentInfo ( IDerObjectIdentifier  objectIdentifier,
IAsn1Encodable  encodable 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateContentSigner()

IContentSigner iText.Bouncycastle.BouncyCastleFactory.CreateContentSigner ( string  signatureAlgorithm,
IPrivateKey  signingKey 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCRLDistPoint()

virtual ICrlDistPoint iText.Bouncycastle.BouncyCastleFactory.CreateCRLDistPoint ( Object @  object )
inlinevirtual

Create CRL Dist point wrapper from System.Object.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCRLReason()

virtual ICrlReason iText.Bouncycastle.BouncyCastleFactory.CreateCRLReason ( )
inlinevirtual

Create CRL Reason wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERIA5String() [1/2]

virtual IDerIA5String iText.Bouncycastle.BouncyCastleFactory.CreateDERIA5String ( IAsn1TaggedObject  taggedObject,
bool  b 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERIA5String() [2/2]

virtual IDerIA5String iText.Bouncycastle.BouncyCastleFactory.CreateDERIA5String ( String  str )
inlinevirtual

Create DERIA5 String wrapper from System.String value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERNull()

virtual IDerNull iText.Bouncycastle.BouncyCastleFactory.CreateDERNull ( )
inlinevirtual

Create DER Null wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDEROctetString() [1/2]

virtual IDerOctetString iText.Bouncycastle.BouncyCastleFactory.CreateDEROctetString ( byte[]  bytes )
inlinevirtual

Create DER Octet string wrapper from byte[].

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDEROctetString() [2/2]

virtual IDerOctetString iText.Bouncycastle.BouncyCastleFactory.CreateDEROctetString ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 Encodable wrapper to DER Octet string wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSequence() [1/2]

virtual IDerSequence iText.Bouncycastle.BouncyCastleFactory.CreateDERSequence ( IAsn1EncodableVector  encodableVector )
inlinevirtual

Create DER Sequence wrapper from ASN1 Encodable vector wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSequence() [2/2]

virtual IDerSequence iText.Bouncycastle.BouncyCastleFactory.CreateDERSequence ( IAsn1Object  primitive )
inlinevirtual

Create DER Sequence wrapper from ASN1 Primitive wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSet() [1/4]

virtual IDerSet iText.Bouncycastle.BouncyCastleFactory.CreateDERSet ( IAsn1EncodableVector  encodableVector )
inlinevirtual

Create DER Set wrapper from ASN1 Encodable vector wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSet() [2/4]

virtual IDerSet iText.Bouncycastle.BouncyCastleFactory.CreateDERSet ( IAsn1Object  primitive )
inlinevirtual

Create DER Set wrapper from ASN1 Primitive wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSet() [3/4]

virtual IDerSet iText.Bouncycastle.BouncyCastleFactory.CreateDERSet ( IRecipientInfo  recipientInfo )
inlinevirtual

Create DER Set wrapper from recipient info wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSet() [4/4]

virtual IDerSet iText.Bouncycastle.BouncyCastleFactory.CreateDERSet ( ISignaturePolicyIdentifier  identifier )
inlinevirtual

Create DER Set wrapper from signature policy identifier wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERTaggedObject() [1/2]

virtual IDerTaggedObject iText.Bouncycastle.BouncyCastleFactory.CreateDERTaggedObject ( bool  b,
int  i,
IAsn1Object  primitive 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERTaggedObject() [2/2]

virtual IDerTaggedObject iText.Bouncycastle.BouncyCastleFactory.CreateDERTaggedObject ( int  i,
IAsn1Object  primitive 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDistributionPointName() [1/2]

virtual IDistributionPointName iText.Bouncycastle.BouncyCastleFactory.CreateDistributionPointName ( )
inlinevirtual

Create distribution point name wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDistributionPointName() [2/2]

IDistributionPointName iText.Bouncycastle.BouncyCastleFactory.CreateDistributionPointName ( IGeneralNames  generalNames )
inline

Create distribution point name wrapper by passing general names.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateEncryptedContentInfo()

virtual IEncryptedContentInfo iText.Bouncycastle.BouncyCastleFactory.CreateEncryptedContentInfo ( IDerObjectIdentifier  data,
IAlgorithmIdentifier  algorithmIdentifier,
IAsn1OctetString  octetString 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateEndDate()

string iText.Bouncycastle.BouncyCastleFactory.CreateEndDate ( IX509Certificate  certificate )
inline

Create string from the end date of the certificate.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateEnvelopedData()

virtual IEnvelopedData iText.Bouncycastle.BouncyCastleFactory.CreateEnvelopedData ( IOriginatorInfo  originatorInfo,
IAsn1Set  set,
IEncryptedContentInfo  encryptedContentInfo,
IAsn1Set  set1 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateExtendedKeyUsage() [1/2]

virtual IExtendedKeyUsage iText.Bouncycastle.BouncyCastleFactory.CreateExtendedKeyUsage ( IDerObjectIdentifier[]  purposeId )
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateExtendedKeyUsage() [2/2]

virtual IExtendedKeyUsage iText.Bouncycastle.BouncyCastleFactory.CreateExtendedKeyUsage ( IKeyPurposeID  purposeId )
inlinevirtual

Create extended key usage wrapper from key purpose id wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateExtension()

IX509Extension iText.Bouncycastle.BouncyCastleFactory.CreateExtension ( bool  b,
IDerOctetString  octetString 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateExtensions() [1/2]

virtual IX509Extensions iText.Bouncycastle.BouncyCastleFactory.CreateExtensions ( )
inlinevirtual

Create extensions wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateExtensions() [2/2]

IX509Extensions iText.Bouncycastle.BouncyCastleFactory.CreateExtensions ( IDictionary  objectIdentifier )
inline

Create extensions wrapper from System.Collections.IDictionary.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateGeneralName()

virtual IGeneralName iText.Bouncycastle.BouncyCastleFactory.CreateGeneralName ( )
inlinevirtual

Create general name wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateGeneralNames()

virtual IGeneralNames iText.Bouncycastle.BouncyCastleFactory.CreateGeneralNames ( IAsn1Encodable  encodable )
inlinevirtual

Cast ASN1 Encodable wrapper to general names wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateGeneralSecurityException() [1/3]

AbstractGeneralSecurityException iText.Bouncycastle.BouncyCastleFactory.CreateGeneralSecurityException ( )
inline

Create general security exception wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateGeneralSecurityException() [2/3]

AbstractGeneralSecurityException iText.Bouncycastle.BouncyCastleFactory.CreateGeneralSecurityException ( string  exceptionMessage )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateGeneralSecurityException() [3/3]

AbstractGeneralSecurityException iText.Bouncycastle.BouncyCastleFactory.CreateGeneralSecurityException ( string  exceptionMessage,
Exception  exception 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateIDigest()

IDigest iText.Bouncycastle.BouncyCastleFactory.CreateIDigest ( string  hashAlgorithm )
inline

Create digest wrapper from System.string hash algorithm.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateISigner()

ISigner iText.Bouncycastle.BouncyCastleFactory.CreateISigner ( )
inline

Create signer wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateIssuerAndSerialNumber()

virtual IIssuerAndSerialNumber iText.Bouncycastle.BouncyCastleFactory.CreateIssuerAndSerialNumber ( IX500Name  issuer,
IBigInteger  value 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateIssuingDistributionPoint() [1/2]

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

Create Issuing Distribution Point wrapper with specified values.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateIssuingDistributionPoint() [2/2]

virtual IIssuingDistributionPoint iText.Bouncycastle.BouncyCastleFactory.CreateIssuingDistributionPoint ( Object  point )
inlinevirtual

Create Issuing Distribution Point wrapper from the object.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateJcaX509v3CertificateBuilder()

virtual IX509V3CertificateGenerator iText.Bouncycastle.BouncyCastleFactory.CreateJcaX509v3CertificateBuilder ( IX509Certificate  signingCert,
IBigInteger  number,
DateTime  startDate,
DateTime  endDate,
IX500Name  subjectDnName,
IPublicKey  publicKey 
)
inlinevirtual

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.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateKeyPurposeId()

virtual IKeyPurposeID iText.Bouncycastle.BouncyCastleFactory.CreateKeyPurposeId ( )
inlinevirtual

Create key purpose id wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateKeyTransRecipientInfo()

virtual IKeyTransRecipientInfo iText.Bouncycastle.BouncyCastleFactory.CreateKeyTransRecipientInfo ( IRecipientIdentifier  recipientIdentifier,
IAlgorithmIdentifier  algorithmIdentifier,
IAsn1OctetString  octetString 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateKeyUsage() [1/2]

virtual IKeyUsage iText.Bouncycastle.BouncyCastleFactory.CreateKeyUsage ( )
inlinevirtual

Create key usage wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateKeyUsage() [2/2]

virtual IKeyUsage iText.Bouncycastle.BouncyCastleFactory.CreateKeyUsage ( int  i )
inlinevirtual

Create key usage wrapper from int value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateNullASN1Set()

virtual IAsn1Set iText.Bouncycastle.BouncyCastleFactory.CreateNullASN1Set ( )
inlinevirtual

Create ASN1 Set wrapper which will store null.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateNullCrl()

IX509Crl iText.Bouncycastle.BouncyCastleFactory.CreateNullCrl ( )
inline

◆ CreateNullOriginatorInfo()

virtual IOriginatorInfo iText.Bouncycastle.BouncyCastleFactory.CreateNullOriginatorInfo ( )
inlinevirtual

Create originator info wrapper with null value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPObjectIdentifiers()

virtual IOcspObjectIdentifiers iText.Bouncycastle.BouncyCastleFactory.CreateOCSPObjectIdentifiers ( )
inlinevirtual

Create OCSP Object identifiers wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPReq() [1/2]

virtual IOcspRequest iText.Bouncycastle.BouncyCastleFactory.CreateOCSPReq ( byte[]  requestBytes )
inlinevirtual

Create OCSP Req wrapper from byte[].

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPReq() [2/2]

IOcspRequest iText.Bouncycastle.BouncyCastleFactory.CreateOCSPReq ( ICertID  certId,
byte[]  documentId 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPReqBuilder()

virtual IOcspReqGenerator iText.Bouncycastle.BouncyCastleFactory.CreateOCSPReqBuilder ( )
inlinevirtual

Create OCSP Req builder wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponse() [1/4]

virtual IOcspResponse iText.Bouncycastle.BouncyCastleFactory.CreateOCSPResponse ( )
inlinevirtual

Create OCSP Resp wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponse() [2/4]

IOcspResponse iText.Bouncycastle.BouncyCastleFactory.CreateOCSPResponse ( byte[]  bytes )
inline

Create OCSP Resp wrapper from byte[] value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponse() [3/4]

IOcspResponse iText.Bouncycastle.BouncyCastleFactory.CreateOCSPResponse ( int  respStatus,
Object  response 
)
inline

Create OCSP Response wrapper from int value and System.object

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponse() [4/4]

virtual IOcspResponse iText.Bouncycastle.BouncyCastleFactory.CreateOCSPResponse ( IOcspResponseStatus  respStatus,
IResponseBytes  responseBytes 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponseStatus() [1/2]

virtual IOcspResponseStatus iText.Bouncycastle.BouncyCastleFactory.CreateOCSPResponseStatus ( )
inlinevirtual

Create OCSP Response status wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponseStatus() [2/2]

virtual IOcspResponseStatus iText.Bouncycastle.BouncyCastleFactory.CreateOCSPResponseStatus ( int  status )
inlinevirtual

Create OCSP Response status wrapper from int value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOtherHashAlgAndValue()

virtual IOtherHashAlgAndValue iText.Bouncycastle.BouncyCastleFactory.CreateOtherHashAlgAndValue ( IAlgorithmIdentifier  algorithmIdentifier,
IAsn1OctetString  octetString 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreatePEMParser()

IPemReader iText.Bouncycastle.BouncyCastleFactory.CreatePEMParser ( TextReader  reader,
char[]  password 
)
inline

Create PEM Parser wrapper from System.IO.TextReader.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreatePKCSObjectIdentifiers()

virtual IPkcsObjectIdentifiers iText.Bouncycastle.BouncyCastleFactory.CreatePKCSObjectIdentifiers ( )
inlinevirtual

Create PKCS Object identifiers wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateReasonFlags()

IReasonFlags iText.Bouncycastle.BouncyCastleFactory.CreateReasonFlags ( int  reasons )
inline

Creates the wrapper for ReasonFlags.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRecipientIdentifier()

virtual IRecipientIdentifier iText.Bouncycastle.BouncyCastleFactory.CreateRecipientIdentifier ( IIssuerAndSerialNumber  issuerAndSerialNumber )
inlinevirtual

Create recipient identifier wrapper from issuer and serial number wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRecipientInfo()

virtual IRecipientInfo iText.Bouncycastle.BouncyCastleFactory.CreateRecipientInfo ( IKeyTransRecipientInfo  keyTransRecipientInfo )
inlinevirtual

Create recipient info wrapper from key trans recipient info wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRespID()

virtual IRespID iText.Bouncycastle.BouncyCastleFactory.CreateRespID ( IX500Name  x500Name )
inlinevirtual

Create resp ID wrapper from X500 Name wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateResponseBytes()

virtual IResponseBytes iText.Bouncycastle.BouncyCastleFactory.CreateResponseBytes ( IDerObjectIdentifier  asn1ObjectIdentifier,
IDerOctetString  derOctetString 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRevokedStatus() [1/2]

virtual IRevokedCertStatus iText.Bouncycastle.BouncyCastleFactory.CreateRevokedStatus ( DateTime  date,
int  i 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRevokedStatus() [2/2]

IRevokedCertStatus iText.Bouncycastle.BouncyCastleFactory.CreateRevokedStatus ( ICertStatus  certificateStatus )
inline

Create revoked status wrapper from certificate status wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRsa2048KeyPairGenerator()

IRsaKeyPairGenerator iText.Bouncycastle.BouncyCastleFactory.CreateRsa2048KeyPairGenerator ( )
inline

Create Rsa 2048 key pair generator wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRSASSAPSSParams()

virtual IRsassaPssParameters iText.Bouncycastle.BouncyCastleFactory.CreateRSASSAPSSParams ( IAsn1Encodable  encodable )
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRSASSAPSSParamsWithMGF1()

virtual IRsassaPssParameters iText.Bouncycastle.BouncyCastleFactory.CreateRSASSAPSSParamsWithMGF1 ( IDerObjectIdentifier  digestAlgoOid,
int  saltLen,
int  trailerField 
)
inlinevirtual

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.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSignaturePolicyId() [1/2]

virtual ISignaturePolicyId iText.Bouncycastle.BouncyCastleFactory.CreateSignaturePolicyId ( IDerObjectIdentifier  objectIdentifier,
IOtherHashAlgAndValue  algAndValue 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSignaturePolicyId() [2/2]

virtual ISignaturePolicyId iText.Bouncycastle.BouncyCastleFactory.CreateSignaturePolicyId ( IDerObjectIdentifier  objectIdentifier,
IOtherHashAlgAndValue  algAndValue,
params ISigPolicyQualifierInfo[]  policyQualifiers 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSignaturePolicyIdentifier()

virtual ISignaturePolicyIdentifier iText.Bouncycastle.BouncyCastleFactory.CreateSignaturePolicyIdentifier ( ISignaturePolicyId  policyId )
inlinevirtual

Create signature policy identifier wrapper from signature policy id wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSigningCertificate()

virtual ISigningCertificate iText.Bouncycastle.BouncyCastleFactory.CreateSigningCertificate ( IAsn1Sequence  sequence )
inlinevirtual

Create signing certificate wrapper from ASN1 Sequence wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSigningCertificateV2()

virtual ISigningCertificateV2 iText.Bouncycastle.BouncyCastleFactory.CreateSigningCertificateV2 ( IAsn1Sequence  sequence )
inlinevirtual

Create signing certificate version 2 wrapper from ASN1 Sequence wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSigPolicyQualifierInfo()

virtual ISigPolicyQualifierInfo iText.Bouncycastle.BouncyCastleFactory.CreateSigPolicyQualifierInfo ( IDerObjectIdentifier  objectIdentifier,
IDerIA5String string 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSingleResp()

virtual ISingleResponse iText.Bouncycastle.BouncyCastleFactory.CreateSingleResp ( IBasicOcspResponse  basicResp )
inlinevirtual

Create single resp wrapper from basic OCSP Response wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSubjectKeyIdentifier()

ISubjectKeyIdentifier iText.Bouncycastle.BouncyCastleFactory.CreateSubjectKeyIdentifier ( ISubjectPublicKeyInfo  subjectPublicKeyInfo )
inline

Create subject key identifier from subject public key info wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSubjectPublicKeyInfo()

virtual ISubjectPublicKeyInfo iText.Bouncycastle.BouncyCastleFactory.CreateSubjectPublicKeyInfo ( IPublicKey  publicKey )
inlinevirtual

Create subject public key info wrapper from public key wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTBSCertificate() [1/2]

virtual ITbsCertificateStructure iText.Bouncycastle.BouncyCastleFactory.CreateTBSCertificate ( byte[]  bytes )
inlinevirtual

Create TBS Certificate wrapper from ASN1 Encoded data.

Parameters
bytes encoded TBS Certificate
Returns
created TBS Certificate wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTBSCertificate() [2/2]

virtual ITbsCertificateStructure iText.Bouncycastle.BouncyCastleFactory.CreateTBSCertificate ( IAsn1Encodable  encodable )
inlinevirtual

Create TBS Certificate wrapper from ASN1 Encodable wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampRequest()

virtual ITimeStampRequest iText.Bouncycastle.BouncyCastleFactory.CreateTimeStampRequest ( byte[]  bytes )
inlinevirtual

Create timestamp request wrapper from byte[] value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampRequestGenerator()

virtual ITimeStampRequestGenerator iText.Bouncycastle.BouncyCastleFactory.CreateTimeStampRequestGenerator ( )
inlinevirtual

Create timestamp request generator wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampResponse()

virtual ITimeStampResponse iText.Bouncycastle.BouncyCastleFactory.CreateTimeStampResponse ( byte[]  respBytes )
inlinevirtual

Create timestamp response wrapper from byte[] value.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampResponseGenerator()

virtual ITimeStampResponseGenerator iText.Bouncycastle.BouncyCastleFactory.CreateTimeStampResponseGenerator ( ITimeStampTokenGenerator  tokenGenerator,
IList  algorithms 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampToken()

ITimeStampToken iText.Bouncycastle.BouncyCastleFactory.CreateTimeStampToken ( IContentInfo  contentInfo )
inline

Create timestamp token wrapper from content info wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampTokenGenerator()

ITimeStampTokenGenerator iText.Bouncycastle.BouncyCastleFactory.CreateTimeStampTokenGenerator ( IPrivateKey  pk,
IX509Certificate  certificate,
string  allowedDigest,
string  policyOid 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTSTInfo()

virtual ITstInfo iText.Bouncycastle.BouncyCastleFactory.CreateTSTInfo ( IContentInfo  contentInfoTsp )
inlinevirtual

Create TST Info wrapper from content info wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateUnknownStatus()

virtual IUnknownCertStatus iText.Bouncycastle.BouncyCastleFactory.CreateUnknownStatus ( )
inlinevirtual

Create unknown status wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX500Name() [1/2]

virtual IX500Name iText.Bouncycastle.BouncyCastleFactory.CreateX500Name ( IX509Certificate  certificate )
inlinevirtual

◆ CreateX500Name() [2/2]

virtual IX500Name iText.Bouncycastle.BouncyCastleFactory.CreateX500Name ( String  s )
inlinevirtual

Create X500 Name wrapper from System.String.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX500NameInstance()

IX500Name iText.Bouncycastle.BouncyCastleFactory.CreateX500NameInstance ( IAsn1Encodable  issuer )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX509Certificate() [1/2]

virtual IX509Certificate iText.Bouncycastle.BouncyCastleFactory.CreateX509Certificate ( object  obj )
inlinevirtual

◆ CreateX509Certificate() [2/2]

virtual IX509Certificate iText.Bouncycastle.BouncyCastleFactory.CreateX509Certificate ( Stream  s )
inlinevirtual

Create X509 Certificate wrapper from System.IO.Stream.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX509CertificateParser()

IX509CertificateParser iText.Bouncycastle.BouncyCastleFactory.CreateX509CertificateParser ( )
inline

Create X509 Certificate parser wrapper without parameters.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX509Crl()

IX509Crl iText.Bouncycastle.BouncyCastleFactory.CreateX509Crl ( Stream  input )
inline

Create X509 Crl wrapper from System.IO.Stream.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX509Crls()

ICollection<IX509Crl> iText.Bouncycastle.BouncyCastleFactory.CreateX509Crls ( Stream  input )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX509v2CRLBuilder()

virtual IX509V2CrlGenerator iText.Bouncycastle.BouncyCastleFactory.CreateX509v2CRLBuilder ( IX500Name  x500Name,
DateTime  date 
)
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetAlgorithmName()

virtual String iText.Bouncycastle.BouncyCastleFactory.GetAlgorithmName ( String  oid )
inlinevirtual

Get signing algorithm name from its oid.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetAlgorithmOid()

virtual String iText.Bouncycastle.BouncyCastleFactory.GetAlgorithmOid ( String  name )
inlinevirtual

Get signing algorithm oid from its name.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetBouncyCastleFactoryTestUtil()

IBouncyCastleTestConstantsFactory iText.Bouncycastle.BouncyCastleFactory.GetBouncyCastleFactoryTestUtil ( )
inline

◆ GetBouncyCastleUtil()

IBouncyCastleUtil iText.Bouncycastle.BouncyCastleFactory.GetBouncyCastleUtil ( )
inline

Get Bouncy-Castle Util instance implementation related to this IBouncyCastleFactory

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetDigestAlgorithmOid()

virtual String iText.Bouncycastle.BouncyCastleFactory.GetDigestAlgorithmOid ( String  name )
inlinevirtual

Get hash algorithm oid from its name.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetProviderName()

virtual String iText.Bouncycastle.BouncyCastleFactory.GetProviderName ( )
inlinevirtual

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ IsEncryptionFeatureSupported()

void iText.Bouncycastle.BouncyCastleFactory.IsEncryptionFeatureSupported ( int  encryptionType,
bool  withCertificate 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ IsInApprovedOnlyMode()

bool iText.Bouncycastle.BouncyCastleFactory.IsInApprovedOnlyMode ( )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ IsNull()

bool iText.Bouncycastle.BouncyCastleFactory.IsNull ( IAsn1Encodable  encodable )
inline

◆ IsNullExtension()

bool iText.Bouncycastle.BouncyCastleFactory.IsNullExtension ( IX509Extension  ext )
inline

Checks if provided extension wrapper wraps null.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.