lookup_issuer


Description:

public static Certificate lookup_issuer (Certificate certificate, Cancellable? cancellable = null) throws Error

Lookup a the issuer of a certificate in the PKCS#11 storage.

The lookup is done using the issuer DN of the certificate. No certificate chain verification is done. Use a crypto library to make trust decisions.

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

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

Parameters:

certificate

a Certificate

cancellable

a Cancellable

Returns:

a new Pkcs11Certificate, or null