protected Encrypter getEncrypter ( final Object samlObject , final SamlRegisteredService service , final SamlRegisteredServiceServiceProviderMetadataFacade adaptor , final KeyEncryptionParameters keyEncParams , final DataEncryptionParameters dataEncParams ) { val encrypter = new Encrypter ( dataEncParams , keyEncParams ) ; encrypter . setKeyPlacement ( Encrypter . KeyPlacement . PEER ) ; return encrypter ; }
Gets encrypter .