question: private static X509Certificate generateCertificate ( String dn , int days , String applicationUri , KeyPair keys , org . opcfoundation . ua . transport . security . KeyPair issuerKeys , String ... hostNames ) throws GeneralSecurityException , IOException { PrivateKey privkey = keys . getPrivate ( ) ; PublicKey publicKey = keys . getPublic ( ) ; return generateCertificate ( dn , days , applicationUri , publicKey , privkey , issuerKeys , hostNames ) ; }
target:  Create a X.509 V3 Certificate.