C# Class Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest

A class for verifying and creating Pkcs10 Certification requests.
Inheritance: Org.BouncyCastle.Asn1.Pkcs.CertificationRequest
Afficher le fichier Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Méthodes publiques

Méthode Description
GetPublicKey ( ) : AsymmetricKeyParameter

Get the public key.

Pkcs10CertificationRequest ( Asn1Sequence seq ) : System
Pkcs10CertificationRequest ( Stream input ) : System
Pkcs10CertificationRequest ( byte encoded ) : System
Pkcs10CertificationRequest ( string signatureAlgorithm, Org.BouncyCastle.Asn1.X509.X509Name subject, AsymmetricKeyParameter publicKey, Asn1Set attributes, AsymmetricKeyParameter signingKey ) : System

Instantiate a Pkcs10CertificationRequest object with the necessary credentials.

Verify ( ) : bool

Verify Pkcs10 Cert Request is valid.

Verify ( AsymmetricKeyParameter publicKey ) : bool

Private Methods

Méthode Description
CreatePssParams ( AlgorithmIdentifier hashAlgId, int saltSize ) : RsassaPssParameters
GetDigestAlgName ( DerObjectIdentifier digestAlgOID ) : string
GetSignatureName ( AlgorithmIdentifier sigAlgId ) : string
Pkcs10CertificationRequest ( ) : System
SetSignatureParameters ( ISigner signature, Asn1Encodable asn1Params ) : void

Method Details

GetPublicKey() public méthode

Get the public key.
public GetPublicKey ( ) : AsymmetricKeyParameter
Résultat Org.BouncyCastle.Crypto.AsymmetricKeyParameter

Pkcs10CertificationRequest() public méthode

public Pkcs10CertificationRequest ( Asn1Sequence seq ) : System
seq Org.BouncyCastle.Asn1.Asn1Sequence
Résultat System

Pkcs10CertificationRequest() public méthode

public Pkcs10CertificationRequest ( Stream input ) : System
input Stream
Résultat System

Pkcs10CertificationRequest() public méthode

public Pkcs10CertificationRequest ( byte encoded ) : System
encoded byte
Résultat System

Pkcs10CertificationRequest() public méthode

Instantiate a Pkcs10CertificationRequest object with the necessary credentials.
public Pkcs10CertificationRequest ( string signatureAlgorithm, Org.BouncyCastle.Asn1.X509.X509Name subject, AsymmetricKeyParameter publicKey, Asn1Set attributes, AsymmetricKeyParameter signingKey ) : System
signatureAlgorithm string Name of Sig Alg.
subject Org.BouncyCastle.Asn1.X509.X509Name X509Name of subject eg OU="My unit." O="My Organisatioin" C="au"
publicKey Org.BouncyCastle.Crypto.AsymmetricKeyParameter Public Key to be included in cert reqest.
attributes Org.BouncyCastle.Asn1.Asn1Set ASN1Set of Attributes.
signingKey Org.BouncyCastle.Crypto.AsymmetricKeyParameter Matching Private key for nominated (above) public key to be used to sign the request.
Résultat System

Verify() public méthode

Verify Pkcs10 Cert Request is valid.
public Verify ( ) : bool
Résultat bool

Verify() public méthode

public Verify ( AsymmetricKeyParameter publicKey ) : bool
publicKey Org.BouncyCastle.Crypto.AsymmetricKeyParameter
Résultat bool