Method | Description | |
---|---|---|
AddExtension ( |
Add an extension to this certificate.
|
|
AddExtension ( |
Add an extension to this certificate.
|
|
AddExtension ( string oid, bool critical, |
Add a given extension field for the standard extensions tag (tag 3).
|
|
AddExtension ( string oid, bool critical, byte extensionValue ) : void |
Add an extension using a string with a dotted decimal OID.
|
|
CopyAndAddExtension ( |
||
CopyAndAddExtension ( string oid, bool critical, |
Add a given extension field for the standard extensions tag (tag 3), copying the extension value from another certificate.
|
|
Generate ( |
Generate an X509Certificate.
|
|
Generate ( |
Generate an X509Certificate using your own SecureRandom.
|
|
Reset ( ) : void |
Reset the Generator.
|
|
SetIssuerDN ( Org.BouncyCastle.Asn1.X509.X509Name issuer ) : void |
Set the distinguished name of the issuer. The issuer is the entity which is signing the certificate.
|
|
SetIssuerUniqueID ( bool uniqueID ) : void |
Set the issuer unique ID - note: it is very rare that it is correct to do this.
|
|
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.
|
|
SetSubjectDN ( Org.BouncyCastle.Asn1.X509.X509Name subject ) : void |
Set the DN of the entity that this certificate is about.
|
|
SetSubjectUniqueID ( bool uniqueID ) : void |
Set the subject unique ID - note: it is very rare that it is correct to do this.
|
|
X509V3CertificateGenerator ( ) : System |
Method | Description | |
---|---|---|
GenerateJcaObject ( TbsCertificateStructure tbsCert, byte signature ) : |
||
GenerateTbsCert ( ) : TbsCertificateStructure | ||
booleanToBitString ( bool id ) : |
public AddExtension ( |
||
oid | Its Object Identifier. | |
critical | bool | Is it critical. |
extensionValue | The value. | |
return | void |
public AddExtension ( |
||
oid | Its Object Identifier. | |
critical | bool | Is it critical. |
extensionValue | byte | byte[] containing the value of this extension. |
return | void |
public AddExtension ( string oid, bool critical, |
||
oid | string | string containing a dotted decimal Object Identifier. |
critical | bool | Is it critical. |
extensionValue | The value. | |
return | void |
public AddExtension ( string oid, bool critical, byte extensionValue ) : void | ||
oid | string | string containing a dotted decimal Object Identifier. |
critical | bool | Is it critical. |
extensionValue | byte | byte[] containing the value of this extension. |
return | void |
public CopyAndAddExtension ( |
||
oid | ||
critical | bool | |
cert | ||
return | void |
public CopyAndAddExtension ( string oid, bool critical, |
||
oid | string | |
critical | bool | |
cert | ||
return | void |
public Generate ( |
||
privateKey | The private key of the issuer that is signing this certificate. | |
return |
public Generate ( |
||
privateKey | The private key of the issuer that is signing this certificate. | |
random | You Secure Random instance. | |
return |
public SetIssuerDN ( Org.BouncyCastle.Asn1.X509.X509Name issuer ) : void | ||
issuer | Org.BouncyCastle.Asn1.X509.X509Name | The issuer's DN. |
return | void |
public SetIssuerUniqueID ( bool uniqueID ) : void | ||
uniqueID | bool | |
return | void |
public SetNotAfter ( System.DateTime date ) : void | ||
date | System.DateTime | |
return | void |
public SetNotBefore ( System.DateTime date ) : void | ||
date | System.DateTime | |
return | void |
public SetPublicKey ( |
||
publicKey | ||
return | void |
public SetSerialNumber ( |
||
serialNumber | The serial number. | |
return | void |
public SetSignatureAlgorithm ( string signatureAlgorithm ) : void | ||
signatureAlgorithm | string | |
return | void |
public SetSubjectDN ( Org.BouncyCastle.Asn1.X509.X509Name subject ) : void | ||
subject | Org.BouncyCastle.Asn1.X509.X509Name | |
return | void |
public SetSubjectUniqueID ( bool uniqueID ) : void | ||
uniqueID | bool | |
return | void |
public X509V3CertificateGenerator ( ) : System | ||
return | System |