Свойство | Type | Description | |
---|---|---|---|
Extensions | List |
||
Issuer | List |
||
IssuerUniqueID | byte[] | ||
SerialNumber | byte[] | ||
Signature | Goedel.Cryptography.PKIX.AlgorithmIdentifier | ||
Subject | List |
||
SubjectPublicKeyInfo | Goedel.Cryptography.PKIX.SubjectPublicKeyInfo | ||
SubjectUniqueID | byte[] | ||
Validity | Goedel.Cryptography.PKIX.Validity | ||
Version | int |
Méthode | Description | |
---|---|---|
AddExtension ( |
Add an X.509v3 extension encty
|
|
Encode ( Goedel Buffer ) : void |
Encode ASN.1 class members to specified buffer. NB Assinine ASN.1 DER encoding rules requires members be added in reverse order.
|
|
SetAuthorityKeyIdentifier ( byte ID ) : void |
Set the Authority Key Identifier extension
|
|
SetBasicConstraints ( bool CA, int PathLength ) : void |
Set the basic constraints field
|
|
SetExtendedKeyUsage ( List |
PKIX extended key uses
|
|
SetKeyUsage ( KeyUses KeyUses ) : void |
Pack key usage data into the stupidest bit field format in the known universe
|
|
SetProfile ( Application Use ) : void |
Set the profile for an end entity certificate
|
|
SetProfile ( Application Use, int PathLen ) : void |
Set the profile for a certificate
|
|
SetSubjectAltName ( string Name ) : void |
|
|
SetSubjectKeyIdentifier ( byte ID ) : void |
Set the subject key identifier extension.
|
|
SetValidity ( ) : void |
Set the default validity interval of 1 year from the present date.
|
|
SetValidity ( System.DateTime NotBefore, System.DateTime NotAfter ) : void |
Set the validity interval to the specified NotBefore and NotAfter times.
|
|
SetValidity ( System.TimeSpan TimeSpan ) : void |
Set the validity interval to the present data plus a specified time span. To reduce errors caused by clock skew between machines, the time interval is backdated to one minute after midnight UTC on the day of one hour before the current time.
|
|
SetValidity ( int Years ) : void |
Set the validity interval in years from the present date. To reduce errors caused by clock skew between machines, the time interval is backdated to one minute after midnight UTC on the day of one hour before the current time.
|
|
TBSCertificate ( ) : System |
Default constructor.
|
|
TBSCertificate ( CryptoProvider SubjectKey, List |
Construct from a subject key, subject name and issuer name.
|
|
TBSCertificate ( KeyPair SubjectKey, List |
Construct from a subject key, subject name and issuer name.
|
|
TBSCertificate ( X509Certificate2 X509Cert ) : System |
Create a TBSCertificate item from a X509Certificate2 object.
|
Méthode | Description | |
---|---|---|
Assanine_wankathon ( int data ) : byte[] | ||
Parse ( X509Extension X509Extension ) : |
||
Parse ( X500DistinguishedName DN ) : List |
public AddExtension ( |
||
Extension | The extension to add. | |
Résultat | void |
public Encode ( Goedel Buffer ) : void | ||
Buffer | Goedel | Output buffer |
Résultat | void |
public SetAuthorityKeyIdentifier ( byte ID ) : void | ||
ID | byte | |
Résultat | void |
public SetBasicConstraints ( bool CA, int PathLength ) : void | ||
CA | bool | If true, can act as a CA |
PathLength | int | Maximum path length of a chain. |
Résultat | void |
public SetExtendedKeyUsage ( List |
||
Values | List |
|
Résultat | void |
public SetKeyUsage ( KeyUses KeyUses ) : void | ||
KeyUses | KeyUses | PKIX Key uses. |
Résultat | void |
public SetProfile ( Application Use ) : void | ||
Use | Application | |
Résultat | void |
public SetProfile ( Application Use, int PathLen ) : void | ||
Use | Application | |
PathLen | int | |
Résultat | void |
public SetSubjectAltName ( string Name ) : void | ||
Name | string | |
Résultat | void |
public SetSubjectKeyIdentifier ( byte ID ) : void | ||
ID | byte | |
Résultat | void |
public SetValidity ( System.DateTime NotBefore, System.DateTime NotAfter ) : void | ||
NotBefore | System.DateTime | First time instant that the certificate is valid. |
NotAfter | System.DateTime | Last time instant that the certificate is valid. |
Résultat | void |
public SetValidity ( System.TimeSpan TimeSpan ) : void | ||
TimeSpan | System.TimeSpan | Time interval. |
Résultat | void |
public TBSCertificate ( CryptoProvider SubjectKey, List |
||
SubjectKey | CryptoProvider | Key that the certificate will authenticate. |
SubjectName | List |
Subject name. |
Résultat | System |
public TBSCertificate ( KeyPair SubjectKey, List |
||
SubjectKey | KeyPair | Key that the certificate will authenticate. |
SubjectName | List |
Subject name. |
Résultat | System |
public TBSCertificate ( X509Certificate2 X509Cert ) : System | ||
X509Cert | X509Certificate2 | |
Résultat | System |
public Goedel.Cryptography.PKIX.AlgorithmIdentifier Signature | ||
Résultat | Goedel.Cryptography.PKIX.AlgorithmIdentifier |
public Goedel.Cryptography.PKIX.SubjectPublicKeyInfo SubjectPublicKeyInfo | ||
Résultat | Goedel.Cryptography.PKIX.SubjectPublicKeyInfo |
public Goedel.Cryptography.PKIX.Validity Validity | ||
Résultat | Goedel.Cryptography.PKIX.Validity |