get_issuer_part


Description:

public string? get_issuer_part (string part)

Get a part of the DN of the issuer of this certificate.

Examples of a part might be the 'OU' (organizational unit) or the 'CN' (common name). Only the value of that part of the DN is returned.

The string returned should be freed by the caller when no longer required.

Parameters:

this

a Certificate

part

a DN type string or OID.

Returns:

the allocated part of the issuer DN, or null if no such part is present