package Ġnet . cord a . node . utilities . registration Ċ Ċ import Ġnet . cord a . core . serialization . C ord a Serializable Ċ import Ġorg . bouncycastle . pkcs . PKCS 1 0 Cert ification Request Ċ import Ġjava . security . cert . Certificate Ċ Ċ interface ĠNetwork Registration Service Ġ{ ĊĠĠĠ Ġ/** ĠSubmit s Ġa ĠCSR Ġto Ġthe Ġsigning Ġservice Ġand Ġreturns Ġan Ġopaque Ġrequest ĠID . Ġ*/ ĊĠĠĠ Ġfun Ġsubmit Request ( request : ĠPKCS 1 0 Cert ification Request ): ĠString ĊĊĠĠĠ Ġ/** ĠPoll ĠCertificate ĠSign ing ĠServer Ġfor Ġthe Ġrequest Ġand Ġreturns Ġa Ġchain Ġof Ġcertificates Ġif Ġrequest Ġhas Ġbeen Ġapproved , Ġnull Ġotherwise . Ġ*/ ĊĠĠĠ Ġ@ Throws ( Certificate RequestException :: class ) ĊĠĠĠ Ġfun Ġretrieve Certificates ( requestId : ĠString ): ĠArray < Certificate >? Ċ } Ċ Ċ @ C ord a Serializable Ċ class ĠCertificate RequestException ( message : ĠString ) Ġ: ĠException ( message ) Ċ