Метод | Описание | |
---|---|---|
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 |
public X509V1CertificateGenerator ( ) : System | ||
Результат | System |