corda / com.r3.corda.networkmanage.common.utils / getCertRole

getCertRole

fun <ERROR CLASS>.getCertRole(): <ERROR CLASS>

Helper method to extract cert role from certificate signing request. Default to NODE_CA if not exist for backward compatibility.