public void encode ( DerOutputStream out ) throws IOException { DerOutputStream theChoice = new DerOutputStream ( ) ; if ( fullName != null ) { fullName . encode ( theChoice ) ; out . writeImplicit ( DerValue . createTag ( DerValue . TAG_CONTEXT , true , TAG_FULL_NAME ) , theChoice ) ; } else { relativeName . encode ( theChoice ) ; out . writeImplicit ( DerValue . createTag ( DerValue . TAG_CONTEXT , true , TAG_RELATIVE_NAME ) , theChoice ) ; } }
Encodes the distribution point name and writes it to the DerOutputStream .