question: public static ECDHECryptography fromNamedCurveId ( int supportedGroupId ) { SupportedGroup group = SupportedGroup . fromId ( supportedGroupId ) ; if ( group == null ) { return null ; } else { try { return new ECDHECryptography ( group . name ( ) ) ; } catch ( GeneralSecurityException e ) { LOGGER . log ( Level . WARNING , "Cannot create ephemeral keys for group [{0}]: {1}" , new Object [ ] { group . name ( ) , e . getMessage ( ) } ) ; return null ; } } }
target:  Creates an ephemeral ECDH key pair for a supported group (named curve).