NET API
HSM Dinamo
Loading...
Looking for...
No entries found
list_association.cs

Example of a list of certificates and their associated private keys.

See Note on examples.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dinamo.Hsm;
namespace TestListAssociation
{
class Program
{
static void Main(string[] args)
{
din.Connect("10.0.62.47", "master", "12345678");
List<CertAssociation> certList = din.ListCertAssociations();
foreach (CertAssociation cert in certList)
{
System.Console.WriteLine(cert);
}
din.Disconnect();
}
}
}
Class that encapsulates the association of the certificate and private key pair.
Definition DinamoClient.cs:76
API class for accessing HSM functionalities Dinamo. In this class you can program using...
Definition DinamoClient.cs:93
List< CertAssociation > ListCertAssociations(bool onlyWithAssociation=false)
Lists the certificates and their associated private keys.
Definition DinamoClient.cs:2144
void Connect(string User, string Password)
Establishes an encrypted connection to the HSM using the load balance settings.
Definition DinamoClient.cs:562
Namespace denoting a set of functions for accessing the HSM Dinamo and their respective exceptions.
Definition DinamoClient.cs:12