docs
4.12
customSourceSet
docs
/
net.corda.core.internal
/
CertRole
/
Companion
/
getInstance
get
Instance
fun
getInstance
(
id
:
<Error class: unknown class>
)
:
CertRole
fun
getInstance
(
data
:
ByteArray
)
:
CertRole
Get a role from its ASN.1 encoded form.
Throws
Illegal
Argument
Exception
if the encoded data is not a valid role.