C# Класс Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest

A class for verifying and creating Pkcs10 Certification requests.
Наследование: Org.BouncyCastle.Asn1.Pkcs.CertificationRequest
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CreatePssParams ( AlgorithmIdentifier hashAlgId, int saltSize ) : RsassaPssParameters
GetDigestAlgName ( DerObjectIdentifier digestAlgOID ) : string
GetSignatureName ( AlgorithmIdentifier sigAlgId ) : string
Pkcs10CertificationRequest ( ) : System
SetSignatureParameters ( ISigner signature, Asn1Encodable asn1Params ) : void

Описание методов

GetPublicKey() публичный Метод

Get the public key.
public GetPublicKey ( ) : AsymmetricKeyParameter
Результат Org.BouncyCastle.Crypto.AsymmetricKeyParameter

Pkcs10CertificationRequest() публичный Метод

public Pkcs10CertificationRequest ( Asn1Sequence seq ) : System
seq Org.BouncyCastle.Asn1.Asn1Sequence
Результат System

Pkcs10CertificationRequest() публичный Метод

public Pkcs10CertificationRequest ( Stream input ) : System
input Stream
Результат System

Pkcs10CertificationRequest() публичный Метод

public Pkcs10CertificationRequest ( byte encoded ) : System
encoded byte
Результат System

Pkcs10CertificationRequest() публичный Метод

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.
Результат System

Verify() публичный Метод

Verify Pkcs10 Cert Request is valid.
public Verify ( ) : bool
Результат bool

Verify() публичный Метод

public Verify ( AsymmetricKeyParameter publicKey ) : bool
publicKey Org.BouncyCastle.Crypto.AsymmetricKeyParameter
Результат bool