메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
GenerateJcaObject ( TbsCertificateStructure tbsCert, byte signature ) : |
||
GenerateTbsCert ( ) : TbsCertificateStructure | ||
booleanToBitString ( bool id ) : |
public AddExtension ( |
||
oid | Its Object Identifier. | |
critical | bool | Is it critical. |
extensionValue | The value. | |
리턴 | void |
public AddExtension ( |
||
oid | Its Object Identifier. | |
critical | bool | Is it critical. |
extensionValue | byte | byte[] containing the value of this extension. |
리턴 | void |
public AddExtension ( string oid, bool critical, |
||
oid | string | string containing a dotted decimal Object Identifier. |
critical | bool | Is it critical. |
extensionValue | The value. | |
리턴 | 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. |
리턴 | void |
public CopyAndAddExtension ( |
||
oid | ||
critical | bool | |
cert | ||
리턴 | void |
public CopyAndAddExtension ( string oid, bool critical, |
||
oid | string | |
critical | bool | |
cert | ||
리턴 | void |
public Generate ( |
||
privateKey | The private key of the issuer that is signing this certificate. | |
리턴 |
public Generate ( |
||
privateKey | The private key of the issuer that is signing this certificate. | |
random | You Secure Random instance. | |
리턴 |
public SetIssuerDN ( Org.BouncyCastle.Asn1.X509.X509Name issuer ) : void | ||
issuer | Org.BouncyCastle.Asn1.X509.X509Name | The issuer's 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 | |
리턴 | void |
public SetSubjectDN ( Org.BouncyCastle.Asn1.X509.X509Name subject ) : void | ||
subject | Org.BouncyCastle.Asn1.X509.X509Name | |
리턴 | void |
public SetSubjectUniqueID ( bool uniqueID ) : void | ||
uniqueID | bool | |
리턴 | void |