if ( keyUsages != null ) { profile.keyUsages().set( vbf.newValueBuilder( KeyUsagesValue.class ). withPrototype( keyUsages ).newInstance() ); withPrototype( extendedKeyUsages ).newInstance() ); withPrototype( netscapeCertTypes ).newInstance() ); withPrototype( basicConstraints ).newInstance() ); withPrototype( nameConstraints ).newInstance() );