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).

Namespace:  Rebex.Security.Certificates
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Function Add ( _
	certificate As Certificate _
) As Integer
C#
public int Add(
	Certificate certificate
)

Parameters

certificate
Type: Rebex.Security.Certificates..::..Certificate
The certificate to be added to the chain.

Return Value

The position of the certificate in the chain.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also