메소드 | 설명 | |
---|---|---|
Generate ( |
Generate a new X509Certificate.
|
|
Generate ( |
Generate a new X509Certificate specifying a SecureRandom instance that you would like to use.
|
|
Reset ( ) : void |
Reset the generator.
|
|
SetIssuerDN ( Org.BouncyCastle.Asn1.X509.X509Name issuer ) : void |
Set the issuer distinguished name. The issuer is the entity whose private key is used to sign the certificate.
|
|
SetNotAfter ( System.DateTime date ) : void |
Set the date after which this certificate will no longer be valid.
|
|
SetNotBefore ( System.DateTime date ) : void |
Set the date that this certificate is to be valid from.
|
|
SetPublicKey ( |
Set the public key that this certificate identifies.
|
|
SetSerialNumber ( |
Set the certificate's serial number. Make serial numbers long, if you have no serial number policy make sure the number is at least 16 bytes of secure random data. You will be surprised how ugly a serial number collision can get. |
|
SetSignatureAlgorithm ( string signatureAlgorithm ) : void |
Set the signature algorithm that will be used to sign this certificate. This can be either a name or an OID, names are treated as case insensitive.
|
|
SetSubjectDN ( Org.BouncyCastle.Asn1.X509.X509Name subject ) : void |
Set the subject distinguished name. The subject describes the entity associated with the public key.
|
|
X509V1CertificateGenerator ( ) : System |
Default Constructor.
|
메소드 | 설명 | |
---|---|---|
GenerateJcaObject ( TbsCertificateStructure tbsCert, byte signature ) : |
public Generate ( |
||
privateKey | The private key of the issuer used to sign this certificate. | |
리턴 |
public Generate ( |
||
privateKey | The private key of the issuer used to sign this certificate. | |
random | The Secure Random you want to use. | |
리턴 |
public SetIssuerDN ( Org.BouncyCastle.Asn1.X509.X509Name issuer ) : void | ||
issuer | Org.BouncyCastle.Asn1.X509.X509Name | The issuers DN. |
리턴 | void |
public SetNotAfter ( System.DateTime date ) : void | ||
date | System.DateTime | |
리턴 | void |
public SetNotBefore ( System.DateTime date ) : void | ||
date | System.DateTime | |
리턴 | void |
public SetPublicKey ( |
||
publicKey | ||
리턴 | void |
public SetSerialNumber ( |
||
serialNumber | The serial number. | |
리턴 | void |
public SetSignatureAlgorithm ( string signatureAlgorithm ) : void | ||
signatureAlgorithm | string | string representation of the algorithm name |
리턴 | void |
public SetSubjectDN ( Org.BouncyCastle.Asn1.X509.X509Name subject ) : void | ||
subject | Org.BouncyCastle.Asn1.X509.X509Name | |
리턴 | void |