public void encode ( OutputStream out ) throws IOException { DerOutputStream tmp = new DerOutputStream ( ) ; algId . encode ( tmp ) ; out . write ( tmp . toByteArray ( ) ) ; }
Encode the algorithm identifier in DER form to the stream .