C# 클래스 Org.BouncyCastle.Pkcs.Pkcs10CertificationRequest

A class for verifying and creating Pkcs10 Certification requests.
상속: Org.BouncyCastle.Asn1.Pkcs.CertificationRequest
파일 보기 프로젝트 열기: red-gate/iTextSharp-4.1.6 1 사용 예제들

공개 메소드들

메소드 설명
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