iText 9.5.0 API
iText.Bouncycastleconnector.BouncyCastleDefaultFactory Class Reference

Default bouncy-castle factory which is expected to be used when no other factories can be created. More...

Inheritance diagram for iText.Bouncycastleconnector.BouncyCastleDefaultFactory:
iText.Commons.Bouncycastle.IBouncyCastleFactory

Public Member Functions

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...
 
IDerObjectIdentifier  CreateASN1ObjectIdentifier (IAsn1Encodable encodable)
  Cast ASN1 encodable wrapper to the ASN1 object identifier wrapper. More...
 
IDerObjectIdentifier  CreateASN1ObjectIdentifier (string str)
 
IDerObjectIdentifier  CreateASN1ObjectIdentifierInstance (object @object)
 
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)
 
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)
 
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)
 
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...
 
IAsn1OutputStream  CreateASN1OutputStream (Stream stream)
  Create ASN1 Output stream wrapper from System.IO.Stream. More...
 
IAsn1OutputStream  CreateASN1OutputStream (Stream outputStream, string asn1Encoding)
 
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)
 
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 encodable)
  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)
 
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)
 
ICrlDistPoint  CreateCRLDistPoint (object @object)
 
IIssuingDistributionPoint  CreateIssuingDistributionPoint (object point)
 
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...
 
virtual 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 signatureAlgorithm, 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...
 
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)
 
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...
 
virtual 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)
 
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 ()
 
RSAParameters?  GetRsaParametersFromCertificate (IX509Certificate certificate)
  Get asymmetric algorithm object instance from bouncy-castle X509 certificate wrapper. More...
 
List< string >  GetPoliciesIds (byte[] policyExtension)
  Gets list of policies IDs from the provided certificate policy extension. More...
 
List< IQCStatement ParseQcStatement (byte[] qcStatementsExtensionValue)
  Parses list of IQCStatement from the provided certificate QC Statements Extension value. More...
 
- Public Member Functions inherited from iText.Commons.Bouncycastle.IBouncyCastleFactory
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...
 
IAsn1Sequence  CreateASN1Sequence (Object @object)
  Cast System.Object to ASN1 Sequence wrapper. More...
 
IAsn1Sequence  CreateASN1SequenceInstance (Object @object)
  Create ASN1 Sequence wrapper from System.Object using getInstance method call. More...
 
IAsn1Set  CreateASN1Set (Object encodable)
  Create ASN1 Set wrapper from System.Object. More...
 
IAsn1OutputStream  CreateASN1OutputStream (Stream outputStream, String asn1Encoding)
  Create ASN1 Output stream wrapper from System.IO.Stream and ASN1 Encoding. More...
 
IBasicOcspResponse  CreateBasicOCSPResponse (Object response)
  Create basic OCSP Resp wrapper from System.Object. More...
 
IOcspResponse  CreateOCSPResponse (int respStatus, Object ocspRespObject)
  Create OCSP Response wrapper from int value and System.object 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...
 
IX500Name  CreateX500Name (String s)
  Create X500 Name wrapper from System.String. More...
 
IX509Certificate  CreateX509Certificate (Object element)
  Cast System.Object element to iText.Commons.Bouncycastle.Cert.IX509Certificate. More...
 

Detailed Description

Default bouncy-castle factory which is expected to be used when no other factories can be created.

Member Function Documentation

◆ CreateAbstractOCSPException()

AbstractOcspException iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateAbstractOCSPException ( Exception  e )
inline

Create OCSP Exception wrapper from usual System.Exception.

Parameters
e

System.Exception to create OCSP Exception wrapper from

Returns
created OCSP Exception wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateAlgorithmIdentifier() [1/2]

IAlgorithmIdentifier iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateAlgorithmIdentifier ( IDerObjectIdentifier  algorithm )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateAlgorithmIdentifier() [2/2]

IAlgorithmIdentifier iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateAlgorithmIdentifier ( IDerObjectIdentifier  algorithm,
IAsn1Encodable  parameters 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1BitString()

IDerBitString iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1BitString ( IAsn1Encodable  encodable )
inline

Cast ASN1 Encodable wrapper to ASN1 Bit string wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Dump()

IAsn1Dump iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Dump ( )
inline

Create ASN1 Dump wrapper without parameters.

Returns
created ASN1 Dump wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1EncodableVector()

IAsn1EncodableVector iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1EncodableVector ( )
inline

Create ASN1 Encodable wrapper without parameters.

Returns
created ASN1 Encodable wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Encoding()

IAsn1Encoding iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Encoding ( )
inline

Create ASN1 Encoding without parameters.

Returns
created ASN1 Encoding

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Enumerated() [1/2]

IDerEnumerated iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Enumerated ( IAsn1Encodable  i )
inline

Create ASN1 Enumerated wrapper from IASN1Encodable value.

Parameters
object

IASN1Encodable to create ASN1 Enumerated wrapper from

Returns
created ASN1 Enumerated wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Enumerated() [2/2]

IDerEnumerated iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Enumerated ( int  i )
inline

Create ASN1 Enumerated wrapper from int value.

Parameters
i

int to create ASN1 Enumerated wrapper from

Returns
created ASN1 Enumerated wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1GeneralizedTime() [1/2]

IDerGeneralizedTime iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1GeneralizedTime ( DateTime  date )
inline

Cast DateTime to ASN1 Generalized time wrapper.

Parameters
date DateTime to be cast
Returns
ASN1 Generalized time wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1GeneralizedTime() [2/2]

IDerGeneralizedTime iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1GeneralizedTime ( IAsn1Encodable  encodable )
inline

Cast ASN1 Encodable wrapper to ASN1 Generalized time wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1InputStream() [1/2]

IAsn1InputStream iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1InputStream ( byte[]  bytes )
inline

Create ASN1 Input stream wrapper from byte[].

Parameters
bytes

byte[] to create ASN1 Input stream from

Returns
created ASN1 Input stream

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1InputStream() [2/2]

IAsn1InputStream iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1InputStream ( Stream  stream )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Integer() [1/3]

IDerInteger iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Integer ( IAsn1Encodable  encodable )
inline

Cast ASN1 Encodable wrapper to ASN1 Integer wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Integer() [2/3]

IDerInteger iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Integer ( IBigInteger  i )
inline

Create ASN1 Integer wrapper from iText.Commons.Bouncycastle.Math.IBigInteger.

Parameters
i

iText.Commons.Bouncycastle.Math.IBigInteger to create ASN1 Integer wrapper from

Returns
created ASN1 Integer wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Integer() [3/3]

IDerInteger iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Integer ( int  i )
inline

Create ASN1 Integer wrapper from int.

Parameters
i

int to create ASN1 Integer wrapper from

Returns
created ASN1 Integer wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1ObjectIdentifier()

IDerObjectIdentifier iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1ObjectIdentifier ( IAsn1Encodable  encodable )
inline

Cast ASN1 encodable wrapper to the ASN1 object identifier wrapper.

Parameters
encodable wrapper to be cast
Returns
casted wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OctetString() [1/4]

IAsn1OctetString iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1OctetString ( byte[]  bytes )
inline

Create ASN1 Octet string wrapper from byte[].

Parameters
bytes

byte[] to create ASN1 Octet string wrapper from

Returns
created ASN1 Octet string wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OctetString() [2/4]

IAsn1OctetString iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1OctetString ( IAsn1Encodable  encodable )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OctetString() [3/4]

IAsn1OctetString iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1OctetString ( IAsn1Object  primitive )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OctetString() [4/4]

IAsn1OctetString iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1OctetString ( IAsn1TaggedObject  taggedObject,
bool  b 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1OutputStream()

IAsn1OutputStream iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1OutputStream ( Stream  stream )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Primitive() [1/2]

IAsn1Object iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Primitive ( byte[]  array )
inline

Create ASN1 Primitive wrapper from byte[] value.

Parameters
array

byte[] value to create ASN1 Primitive wrapper from

Returns
created ASN1 Primitive wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Primitive() [2/2]

IAsn1Object iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Primitive ( IAsn1Encodable  encodable )
inline

Cast ASN1 Encodable wrapper to ASN1 Primitive wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Sequence() [1/2]

IAsn1Sequence iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Sequence ( byte[]  array )
inline

Create ASN1 Sequence wrapper from byte[].

Parameters
array

byte[] to create ASN1 Sequence wrapper from

Returns
created ASN1 Sequence wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Sequence() [2/2]

IAsn1Sequence iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Sequence ( IAsn1Encodable  encodable )
inline

Cast ASN1 encodable wrapper to the ASN1 Sequence wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Set() [1/2]

IAsn1Set iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Set ( IAsn1Encodable  encodable )
inline

Cast ASN1 Encodable wrapper to ASN1 Set wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1Set() [2/2]

IAsn1Set iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1Set ( IAsn1TaggedObject  taggedObject,
bool  b 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1String()

IDerStringBase iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1String ( IAsn1Encodable  encodable )
inline

Cast ASN1 Encodable wrapper to ASN1 String wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1TaggedObject()

IAsn1TaggedObject iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1TaggedObject ( IAsn1Encodable  encodable )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateASN1UTCTime()

IDerUtcTime iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateASN1UTCTime ( IAsn1Encodable  encodable )
inline

Cast ASN1 Encodable wrapper to ASN1 UTC Time wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateAttribute()

IAttribute iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateAttribute ( IDerObjectIdentifier  attrType,
IAsn1Set  attrValues 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateAttributeTable()

IAttributeTable iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateAttributeTable ( IAsn1Set  unat )
inline

Create attribute table wrapper from ASN1 Set wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateAuthorityKeyIdentifier()

IAuthorityKeyIdentifier iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateAuthorityKeyIdentifier ( ISubjectPublicKeyInfo  issuerPublicKeyInfo )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicConstraints() [1/2]

IBasicConstraints iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateBasicConstraints ( bool  b )
inline

Create basic constraints wrapper from boolean value.

Parameters
b

boolean value to create basic constraints wrapper from

Returns
created basic constraints wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicConstraints() [2/2]

IBasicConstraints iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateBasicConstraints ( int  pathLength )
inline

Create basic constraints wrapper from int value.

Parameters
pathLength

int flag to create basic constraints wrapper from

Returns
created basic constraints wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicOCSPRespBuilder()

IBasicOcspRespGenerator iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateBasicOCSPRespBuilder ( IRespID  respID )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicOCSPResponse() [1/2]

IBasicOcspResponse iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateBasicOCSPResponse ( byte[]  bytes )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBasicOCSPResponse() [2/2]

IBasicOcspResponse iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateBasicOCSPResponse ( IAsn1Object  primitive )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBigInteger() [1/3]

IBigInteger iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateBigInteger ( )
inline

Create big integer wrapper without parameters.

Returns
created big integer wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBigInteger() [2/3]

IBigInteger iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateBigInteger ( int  i,
byte[]  array 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateBigInteger() [3/3]

IBigInteger iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateBigInteger ( string  str )
inline

Create big integer wrapper from System.string value.

Parameters
str

System.string value to create big integer wrapper from

Returns
created big integer wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCertificateID() [1/2]

ICertID iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateCertificateID ( )
inline

Create certificate ID wrapper without parameters.

Returns
created certificate ID wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCertificateID() [2/2]

ICertID iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateCertificateID ( string  hashAlgorithm,
IX509Certificate  issuerCert,
IBigInteger  serialNumber 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCertificateStatus()

ICertStatus iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateCertificateStatus ( )
inline

Create certificate status wrapper without parameters.

Returns
created certificate status wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCipher()

ICipher iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateCipher ( bool  forEncryption,
byte[]  key,
byte[]  iv 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCipherBytes()

byte [] iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateCipherBytes ( IX509Certificate  x509Certificate,
byte[]  abyte0,
IAlgorithmIdentifier  algorithmidentifier 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCipherCbCnoPad() [1/2]

ICipherCBCnoPad iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateCipherCbCnoPad ( bool  forEncryption,
byte[]  key 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCipherCbCnoPad() [2/2]

ICipherCBCnoPad iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateCipherCbCnoPad ( bool  forEncryption,
byte[]  key,
byte[]  iv 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCMSEnvelopedData()

ICmsEnvelopedData iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateCMSEnvelopedData ( byte[]  valueBytes )
inline

Create CMS enveloped data from byte[] value.

Parameters
valueBytes

byte[] value to create CMS enveloped data from

Returns
created CMS enveloped data

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateContentInfo() [1/2]

IContentInfo iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateContentInfo ( IAsn1Sequence  sequence )
inline

Create content info wrapper from ASN1 Sequence wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateContentInfo() [2/2]

IContentInfo iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateContentInfo ( IDerObjectIdentifier  objectIdentifier,
IAsn1Encodable  encodable 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateContentSigner()

IContentSigner iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateContentSigner ( string  signatureAlgorithm,
IPrivateKey  signingKey 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateCRLReason()

ICrlReason iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateCRLReason ( )
inline

Create CRL Reason wrapper without parameters.

Returns
created CRL Reason wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERIA5String()

IDerIA5String iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDERIA5String ( IAsn1TaggedObject  taggedObject,
bool  b 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERNull()

IDerNull iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDERNull ( )
inline

Create DER Null wrapper without parameters.

Returns
created DER Null wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDEROctetString() [1/2]

IDerOctetString iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDEROctetString ( byte[]  bytes )
inline

Create DER Octet string wrapper from byte[].

Parameters
bytes

byte[] to create DER Octet string wrapper from

Returns
created DER Octet string wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDEROctetString() [2/2]

IDerOctetString iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDEROctetString ( IAsn1Encodable  encodable )
inline

Cast ASN1 Encodable wrapper to DER Octet string wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSequence() [1/2]

IDerSequence iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDERSequence ( IAsn1EncodableVector  encodableVector )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSequence() [2/2]

IDerSequence iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDERSequence ( IAsn1Object  primitive )
inline

Create DER Sequence wrapper from ASN1 Primitive wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSet() [1/4]

IDerSet iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDERSet ( IAsn1EncodableVector  encodableVector )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSet() [2/4]

IDerSet iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDERSet ( IAsn1Object  primitive )
inline

Create DER Set wrapper from ASN1 Primitive wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSet() [3/4]

IDerSet iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDERSet ( IRecipientInfo  recipientInfo )
inline

Create DER Set wrapper from recipient info wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERSet() [4/4]

IDerSet iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDERSet ( ISignaturePolicyIdentifier  identifier )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERTaggedObject() [1/2]

IDerTaggedObject iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDERTaggedObject ( bool  b,
int  i,
IAsn1Object  primitive 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDERTaggedObject() [2/2]

IDerTaggedObject iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDERTaggedObject ( int  i,
IAsn1Object  primitive 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDistributionPointName() [1/2]

IDistributionPointName iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDistributionPointName ( )
inline

Create distribution point name wrapper without parameters.

Returns
created distribution point name wrapper.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateDistributionPointName() [2/2]

IDistributionPointName iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateDistributionPointName ( IGeneralNames  generalNames )
inline

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.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateEncryptedContentInfo()

IEncryptedContentInfo iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateEncryptedContentInfo ( IDerObjectIdentifier  data,
IAlgorithmIdentifier  algorithmIdentifier,
IAsn1OctetString  octetString 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateEndDate()

string iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateEndDate ( IX509Certificate  certificate )
inline

Create string from the end date of the certificate.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateEnvelopedData()

IEnvelopedData iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateEnvelopedData ( IOriginatorInfo  originatorInfo,
IAsn1Set  set,
IEncryptedContentInfo  encryptedContentInfo,
IAsn1Set  set1 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateExtendedKeyUsage() [1/2]

IExtendedKeyUsage iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateExtendedKeyUsage ( IDerObjectIdentifier[]  purposeId )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateExtendedKeyUsage() [2/2]

IExtendedKeyUsage iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateExtendedKeyUsage ( IKeyPurposeID  purposeId )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateExtension()

IX509Extension iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateExtension ( bool  b,
IDerOctetString  octetString 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateExtensions() [1/2]

IX509Extensions iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateExtensions ( )
inline

Create extensions wrapper without parameters.

Returns
created extensions wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateExtensions() [2/2]

IX509Extensions iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateExtensions ( IDictionary  objectIdentifier )
inline

Create extensions wrapper from System.Collections.IDictionary.

Returns
created extensions wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateGeneralName()

IGeneralName iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateGeneralName ( )
inline

Create general name wrapper without parameters.

Returns
created general name wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateGeneralNames()

IGeneralNames iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateGeneralNames ( IAsn1Encodable  encodable )
inline

Cast ASN1 Encodable wrapper to general names wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateGeneralSecurityException() [1/3]

AbstractGeneralSecurityException iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateGeneralSecurityException ( )
inline

Create general security exception wrapper without parameters.

Returns
created general security exception wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateGeneralSecurityException() [2/3]

AbstractGeneralSecurityException iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateGeneralSecurityException ( string  exceptionMessage )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateGeneralSecurityException() [3/3]

AbstractGeneralSecurityException iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateGeneralSecurityException ( string  exceptionMessage,
Exception  exception 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateIDigest()

IDigest iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateIDigest ( string  hashAlgorithm )
inline

Create digest wrapper from System.string hash algorithm.

Parameters
hashAlgorithm

System.string hash algorithm to create digest wrapper from

Returns
created digest wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateISigner()

ISigner iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateISigner ( )
inline

Create signer wrapper without parameters.

Returns
created signer wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateIssuerAndSerialNumber()

IIssuerAndSerialNumber iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateIssuerAndSerialNumber ( IX500Name  issuer,
IBigInteger  value 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateIssuingDistributionPoint()

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

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.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateJcaX509v3CertificateBuilder()

IX509V3CertificateGenerator iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateJcaX509v3CertificateBuilder ( IX509Certificate  signingCert,
IBigInteger  certSerialNumber,
DateTime  startDate,
DateTime  endDate,
IX500Name  subjectDnName,
IPublicKey  publicKey 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateKeyPurposeId()

IKeyPurposeID iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateKeyPurposeId ( )
inline

Create key purpose id wrapper without parameters.

Returns
created key purpose id wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateKeyTransRecipientInfo()

IKeyTransRecipientInfo iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateKeyTransRecipientInfo ( IRecipientIdentifier  recipientIdentifier,
IAlgorithmIdentifier  algorithmIdentifier,
IAsn1OctetString  octetString 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateKeyUsage() [1/2]

IKeyUsage iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateKeyUsage ( )
inline

Create key usage wrapper without parameters.

Returns
created key usage wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateKeyUsage() [2/2]

IKeyUsage iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateKeyUsage ( int  i )
inline

Create key usage wrapper from int value.

Parameters
i

int value to create key usage wrapper from

Returns
created key usage wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateNullASN1Set()

IAsn1Set iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateNullASN1Set ( )
inline

Create ASN1 Set wrapper which will store null.

Returns
ASN1 Set wrapper with null value

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateNullCrl()

IX509Crl iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateNullCrl ( )
inline

◆ CreateNullOriginatorInfo()

IOriginatorInfo iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateNullOriginatorInfo ( )
inline

Create originator info wrapper with null value.

Returns
created originator info wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPObjectIdentifiers()

IOcspObjectIdentifiers iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateOCSPObjectIdentifiers ( )
inline

Create OCSP Object identifiers wrapper without parameters.

Returns
created OCSP Object identifiers wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPReq() [1/2]

IOcspRequest iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateOCSPReq ( byte[]  requestBytes )
inline

Create OCSP Req wrapper from byte[].

Parameters
requestBytes

byte[] to create OCSP Req wrapper from

Returns
created OCSP Req wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPReq() [2/2]

IOcspRequest iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateOCSPReq ( ICertID  certId,
byte[]  documentId 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPReqBuilder()

IOcspReqGenerator iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateOCSPReqBuilder ( )
inline

Create OCSP Req builder wrapper without parameters.

Returns
created OCSP Req builder wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponse() [1/3]

IOcspResponse iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateOCSPResponse ( )
inline

Create OCSP Resp wrapper without parameters.

Returns
created OCSP Resp wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponse() [2/3]

IOcspResponse iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateOCSPResponse ( byte[]  bytes )
inline

Create OCSP Resp wrapper from byte[] value.

Parameters
bytes

byte[] value to create OCSP Resp wrapper from

Returns
created OCSP Resp wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponse() [3/3]

IOcspResponse iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateOCSPResponse ( IOcspResponseStatus  respStatus,
IResponseBytes  responseBytes 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponseStatus() [1/2]

IOcspResponseStatus iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateOCSPResponseStatus ( )
inline

Create OCSP Response status wrapper without parameters.

Returns
created OCSP Response status wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOCSPResponseStatus() [2/2]

IOcspResponseStatus iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateOCSPResponseStatus ( int  status )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateOtherHashAlgAndValue()

IOtherHashAlgAndValue iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateOtherHashAlgAndValue ( IAlgorithmIdentifier  algorithmIdentifier,
IAsn1OctetString  octetString 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreatePEMParser()

IPemReader iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreatePEMParser ( TextReader  reader,
char[]  password 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreatePKCSObjectIdentifiers()

IPkcsObjectIdentifiers iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreatePKCSObjectIdentifiers ( )
inline

Create PKCS Object identifiers wrapper without parameters.

Returns
created PKCS Object identifiers

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateReasonFlags()

IReasonFlags iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateReasonFlags ( int  reasons )
inline

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.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRecipientIdentifier()

IRecipientIdentifier iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateRecipientIdentifier ( IIssuerAndSerialNumber  issuerAndSerialNumber )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRecipientInfo()

IRecipientInfo iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateRecipientInfo ( IKeyTransRecipientInfo  keyTransRecipientInfo )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRespID()

IRespID iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateRespID ( IX500Name  x500Name )
inline

Create resp ID wrapper from X500 Name wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateResponseBytes()

IResponseBytes iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateResponseBytes ( IDerObjectIdentifier  asn1ObjectIdentifier,
IDerOctetString  derOctetString 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRevokedStatus() [1/2]

IRevokedCertStatus iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateRevokedStatus ( DateTime  date,
int  i 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRevokedStatus() [2/2]

IRevokedCertStatus iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateRevokedStatus ( ICertStatus  certificateStatus )
inline

Create revoked status wrapper from certificate status wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRsa2048KeyPairGenerator()

IRsaKeyPairGenerator iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateRsa2048KeyPairGenerator ( )
inline

Create Rsa 2048 key pair generator wrapper without parameters.

Returns
created Rsa 2048 key pair generator wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRSASSAPSSParams()

IRsassaPssParameters iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateRSASSAPSSParams ( IAsn1Encodable  encodable )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateRSASSAPSSParamsWithMGF1()

IRsassaPssParameters iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateRSASSAPSSParamsWithMGF1 ( IDerObjectIdentifier  digestAlgoOid,
int  saltLen,
int  trailerField 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSignaturePolicyId() [1/2]

ISignaturePolicyId iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateSignaturePolicyId ( IDerObjectIdentifier  objectIdentifier,
IOtherHashAlgAndValue  algAndValue 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSignaturePolicyId() [2/2]

ISignaturePolicyId iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateSignaturePolicyId ( IDerObjectIdentifier  objectIdentifier,
IOtherHashAlgAndValue  algAndValue,
params ISigPolicyQualifierInfo[]  policyQualifiers 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSignaturePolicyIdentifier()

ISignaturePolicyIdentifier iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateSignaturePolicyIdentifier ( ISignaturePolicyId  policyId )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSigningCertificate()

ISigningCertificate iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateSigningCertificate ( IAsn1Sequence  sequence )
inline

Create signing certificate wrapper from ASN1 Sequence wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSigningCertificateV2()

ISigningCertificateV2 iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateSigningCertificateV2 ( IAsn1Sequence  sequence )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSigPolicyQualifierInfo()

ISigPolicyQualifierInfo iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateSigPolicyQualifierInfo ( IDerObjectIdentifier  objectIdentifier,
IDerIA5String string 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSingleResp()

ISingleResponse iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateSingleResp ( IBasicOcspResponse  basicResp )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSubjectKeyIdentifier()

ISubjectKeyIdentifier iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateSubjectKeyIdentifier ( ISubjectPublicKeyInfo  subjectPublicKeyInfo )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateSubjectPublicKeyInfo()

ISubjectPublicKeyInfo iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateSubjectPublicKeyInfo ( IPublicKey  publicKey )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTBSCertificate() [1/2]

virtual ITbsCertificateStructure iText.Bouncycastleconnector.BouncyCastleDefaultFactory.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]

ITbsCertificateStructure iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateTBSCertificate ( IAsn1Encodable  encodable )
inline

Create TBS Certificate wrapper from ASN1 Encodable wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampRequest()

ITimeStampRequest iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateTimeStampRequest ( byte[]  bytes )
inline

Create timestamp request wrapper from byte[] value.

Parameters
bytes

byte[] value to create timestamp request wrapper from

Returns
created timestamp request wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampRequestGenerator()

ITimeStampRequestGenerator iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateTimeStampRequestGenerator ( )
inline

Create timestamp request generator wrapper without parameters.

Returns
created timestamp request generator wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampResponse()

ITimeStampResponse iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateTimeStampResponse ( byte[]  respBytes )
inline

Create timestamp response wrapper from byte[] value.

Parameters
respBytes

byte[] value to create timestamp response wrapper from

Returns
created timestamp response wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampResponseGenerator()

ITimeStampResponseGenerator iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateTimeStampResponseGenerator ( ITimeStampTokenGenerator  tokenGenerator,
IList  algorithms 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampToken()

ITimeStampToken iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateTimeStampToken ( IContentInfo  contentInfo )
inline

Create timestamp token wrapper from content info wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampTokenGenerator() [1/2]

ITimeStampTokenGenerator iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateTimeStampTokenGenerator ( IPrivateKey  pk,
IX509Certificate  cert,
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.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTimeStampTokenGenerator() [2/2]

ITimeStampTokenGenerator iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateTimeStampTokenGenerator ( IPrivateKey  pk,
IX509Certificate  cert,
string  signatureAlgorithm,
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.

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

System.string signature algorithm used for the private key to create timestamp response generator wrapper from

Parameters
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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTSTInfo() [1/2]

virtual ITstInfo iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateTSTInfo ( IAsn1Object  contentInfo )
inlinevirtual

Create TST Info wrapper from content info wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateTSTInfo() [2/2]

ITstInfo iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateTSTInfo ( IContentInfo  contentInfo )
inline

Create TST Info wrapper from content info wrapper.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateUnknownStatus()

IUnknownCertStatus iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateUnknownStatus ( )
inline

Create unknown status wrapper without parameters.

Returns
created unknown status wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX500Name() [1/2]

IX500Name iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateX500Name ( IAsn1Sequence  s )
inline

Create X500 Name wrapper from IAsn1Sequence.

Parameters
s

IAsn1Sequence to create X500 Name wrapper from

Returns
created X500 Name wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX500Name() [2/2]

IX500Name iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateX500Name ( IX509Certificate  certificate )
inline

Create X500 Name wrapper from iText.Commons.Bouncycastle.Cert.IX509Certificate.

Parameters
certificate

iText.Commons.Bouncycastle.Cert.IX509Certificate to create X500 Name wrapper from

Returns
created X500 Name wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX500NameInstance()

IX500Name iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateX500NameInstance ( IAsn1Encodable  issuer )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX509Certificate()

IX509Certificate iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateX509Certificate ( Stream  s )
inline

Create X509 Certificate wrapper from System.IO.Stream.

Parameters
s

System.IO.Stream to create X509 Certificate wrapper from

Returns
created X509 Certificate wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX509CertificateParser()

IX509CertificateParser iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateX509CertificateParser ( )
inline

Create X509 Certificate parser wrapper without parameters.

Returns
created X509 Certificate parser wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX509Crl()

IX509Crl iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateX509Crl ( Stream  input )
inline

Create X509 Crl wrapper from System.IO.Stream.

Parameters
input

System.IO.Stream to create X509 Crl wrapper from

Returns
created X509 Crl wrapper

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX509Crls()

ICollection<IX509Crl> iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateX509Crls ( Stream  input )
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ CreateX509v2CRLBuilder()

IX509V2CrlGenerator iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateX509v2CRLBuilder ( IX500Name  x500Name,
DateTime  thisUpdate 
)
inline

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GenerateDecryptedKeyWithAES256NoPad()

byte [] iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GenerateDecryptedKeyWithAES256NoPad ( byte[]  key,
byte[]  kek 
)
inline

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.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GenerateEncryptedKeyWithAES256NoPad()

byte [] iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GenerateEncryptedKeyWithAES256NoPad ( byte[]  key,
byte[]  kek 
)
inline

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.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GenerateHKDF()

byte [] iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GenerateHKDF ( byte[]  inputKey,
byte[]  salt,
byte[]  info 
)
inline

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.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GenerateHMACSHA256Token()

byte [] iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GenerateHMACSHA256Token ( byte[]  key,
byte[]  data 
)
inline

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.

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetAlgorithmName()

virtual String iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GetAlgorithmName ( String  oid )
inlinevirtual

Get signing algorithm name from its oid.

Parameters
oid oid of the algorithm
Returns
algorithm name

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetAlgorithmOid()

virtual String iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GetAlgorithmOid ( String  name )
inlinevirtual

Get signing algorithm oid from its name.

Parameters
name name of the algorithm
Returns
algorithm oid

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetBouncyCastleFactoryTestUtil()

IBouncyCastleTestConstantsFactory iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GetBouncyCastleFactoryTestUtil ( )
inline

Get IBouncyCastleTestConstantsFactory corresponding to this IBouncyCastleFactory.

Returns

IBouncyCastleTestConstantsFactory instance

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetBouncyCastleUtil()

IBouncyCastleUtil iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GetBouncyCastleUtil ( )
inline

Get Bouncy-Castle Util instance implementation related to this IBouncyCastleFactory

Returns
IBouncyCastleUtil instance implementation

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetDigestAlgorithmOid()

virtual String iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GetDigestAlgorithmOid ( String  name )
inlinevirtual

Get hash algorithm oid from its name.

Parameters
name name of the algorithm
Returns
algorithm oid

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetPoliciesIds()

List iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GetPoliciesIds ( byte[]  policyExtension )
inline

Gets list of policies IDs from the provided certificate policy extension.

Parameters
policyExtension certificate policy extension as byte array
Returns
list of policies IDs

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetProviderName()

string iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GetProviderName ( )
inline

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

Returns

System.String which represents providers name

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetRsaParametersFromCertificate()

RSAParameters? iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GetRsaParametersFromCertificate ( IX509Certificate  certificate )
inline

Get asymmetric algorithm object instance from bouncy-castle X509 certificate wrapper.

Parameters
certificate Bouncy-castle X509 certificate wrapper
Returns
Asymmetric algorithm instance

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ GetSecureRandom()

RNGCryptoServiceProvider iText.Bouncycastleconnector.BouncyCastleDefaultFactory.GetSecureRandom ( )
inline

Get SecureRandom implementation from the factory.

Returns
SecureRandom implementation

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ IsEncryptionFeatureSupported()

void iText.Bouncycastleconnector.BouncyCastleDefaultFactory.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.

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


Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ IsInApprovedOnlyMode()

bool iText.Bouncycastleconnector.BouncyCastleDefaultFactory.IsInApprovedOnlyMode ( )
inline

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

Returns

true if approved mode is enabled, false otherwise

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ IsNull()

bool iText.Bouncycastleconnector.BouncyCastleDefaultFactory.IsNull ( IAsn1Encodable  encodable )
inline

Check if provided encodable wrapper wraps null.

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

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ IsNullExtension()

bool iText.Bouncycastleconnector.BouncyCastleDefaultFactory.IsNullExtension ( IX509Extension  extNonce )
inline

Checks if provided extension wrapper wraps null.

Parameters
extNonce extension wrapper to check
Returns

true if provided extension wrapper wraps null , false otherwise

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.

◆ ParseQcStatement()

List<IQCStatement> iText.Bouncycastleconnector.BouncyCastleDefaultFactory.ParseQcStatement ( byte[]  qcStatementsExtensionValue )
inline

Parses list of IQCStatement from the provided certificate QC Statements Extension value.

Parameters
qcStatementsExtensionValue certificate QC Statements Extension value as byte array
Returns
list of IQCStatement

Implements iText.Commons.Bouncycastle.IBouncyCastleFactory.