CertificateChain.Add Method
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9313)
Add(Certificate)
Adds a certificate to the end of the chain. This certificate represents authority for the previous certificate in the chain (Leaf certificate is at the beginning of the chain, Root certificate is at the end of the chain).
Declaration
public int Add(Certificate certificate)Parameters
| Type | Name | Description | 
|---|---|---|
| Certificate | certificate | The certificate to be added to the chain. | 
Returns
| Type | Description | 
|---|---|
| Int32 | The position of the certificate in the chain. |