CertificateRenderer.for_attributes


Description:

[ CCode ( has_construct_function = false ) ]
public CertificateRenderer.for_attributes (string? label, void* attrs)

Create a new certificate renderer to display the label and attributes.

One of the attributes should be a CKA_VALUE type attribute containing a DER encoded certificate.

Parameters:

label

the label to display

attrs

The attributes to display

Returns:

a newly allocated CertificateRenderer, which should be released with unref