new_from_uri


Description:

public static Certificate? new_from_uri (string pkcs11_uri, Cancellable? cancellable = null) throws Error

Lookup a certificate in the PKCS#11 storage by the given URI.

This call may block, see new_from_uri_async for the non-blocking version.

Will return null if no certificate is found. Use throws to determine if an error occurred.

Parameters:

pkcs11_uri

a A PKCS #11 URI

cancellable

a Cancellable

Returns:

a new Certificate, or null